no longer install auto-remove
This commit is contained in:
parent
eea2d98303
commit
30764ffc17
@ -10,17 +10,6 @@ abstract class Base
|
||||
rename(\Rails::publicPath() . '/index', \Rails::publicPath() . '/index.php');
|
||||
}
|
||||
|
||||
protected function deleteInstallFiles()
|
||||
{
|
||||
\Rails\Toolbox\FileTools::emptyDir($this->root());
|
||||
|
||||
# We may not have permissions to delete the dir
|
||||
try {
|
||||
unlink($this->root());
|
||||
} catch (\Exception $e) {
|
||||
}
|
||||
}
|
||||
|
||||
protected function root()
|
||||
{
|
||||
return __DIR__ . '/../..';
|
||||
|
@ -25,7 +25,6 @@ class Install extends Base
|
||||
$this->setLoginCookies();
|
||||
$this->createPublicDataDirs();
|
||||
$this->renameIndex();
|
||||
$this->deleteInstallFiles();
|
||||
}
|
||||
|
||||
private function createTables()
|
||||
|
@ -18,7 +18,6 @@ class Update extends Base
|
||||
$this->executeQueries();
|
||||
$this->createHistory();
|
||||
$this->renameIndex();
|
||||
$this->deleteInstallFiles();
|
||||
}
|
||||
|
||||
private function executeQueries()
|
||||
|
Reference in New Issue
Block a user