Commit 0ef2ab81 authored by Micheal Mand's avatar Micheal Mand

There isn’t a start.php file anymore

parent 74f5c9ca
...@@ -228,7 +228,6 @@ class ModuleScaffold ...@@ -228,7 +228,6 @@ class ModuleScaffold
$moduleJson = $this->loadProviders($moduleJson); $moduleJson = $this->loadProviders($moduleJson);
$moduleJson = $this->setModuleOrderOrder($moduleJson); $moduleJson = $this->setModuleOrderOrder($moduleJson);
$moduleJson = $this->setModuleVersion($moduleJson); $moduleJson = $this->setModuleVersion($moduleJson);
$moduleJson = $this->removeStartPhpFile($moduleJson);
$this->finder->put($this->getModulesPath('module.json'), $moduleJson); $this->finder->put($this->getModulesPath('module.json'), $moduleJson);
} }
...@@ -270,19 +269,6 @@ JSON; ...@@ -270,19 +269,6 @@ JSON;
return str_replace("\"active\"", "\"version\": \"1.0.0\",\n\t\"active\"", $content); return str_replace("\"active\"", "\"version\": \"1.0.0\",\n\t\"active\"", $content);
} }
/**
* Remove the start.php start file
* Also removes the auto loading of that file
* @param string $content
* @return string
*/
private function removeStartPhpFile($content)
{
$this->finder->delete($this->getModulesPath('start.php'));
return str_replace('"start.php"', '', $content);
}
/** /**
* Add required folders * Add required folders
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment