Don't use removed API in install.php

This commit is contained in:
Damian Mooyman 2016-04-04 14:34:10 +12:00
parent 77b47bac92
commit 195e09097a

View File

@ -1448,17 +1448,6 @@ PHP
);
}
// Syncing filesystem (so /assets/Uploads is available instantly, see ticket #2266)
// show a warning if there was a problem doing so
try {
$this->statusMessage('Creating initial filesystem assets...');
Filesystem::sync();
} catch(Exception $e) {
$this->statusMessage(
sprintf('Warning: Creating initial filesystem assets failed (error: %s)', $e->getMessage())
);
}
$_SESSION['username'] = $config['admin']['username'];
$_SESSION['password'] = $config['admin']['password'];