import moons
This commit is contained in:
@@ -61,14 +61,6 @@ class ImportAllianceMoons extends Command
|
|||||||
//Create the collection of lines for the input file.
|
//Create the collection of lines for the input file.
|
||||||
$moons = new Collection;
|
$moons = new Collection;
|
||||||
|
|
||||||
if(!AllianceMoonOre::empty()) {
|
|
||||||
AllianceMoonOre::truncate();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!AllianceMoon::empty()) {
|
|
||||||
AllianceMoon::truncate();
|
|
||||||
}
|
|
||||||
|
|
||||||
//Create the file handler
|
//Create the file handler
|
||||||
$data = Storage::get('public/alliance_moons.txt');
|
$data = Storage::get('public/alliance_moons.txt');
|
||||||
//Split the string into separate arrays based on the line
|
//Split the string into separate arrays based on the line
|
||||||
|
|||||||
Reference in New Issue
Block a user