Merge pull request #5263 from tractorcow/pulls/4.0/install-sync

Don't use removed API in install.php
This commit is contained in:
Loz Calver 2016-04-04 09:13:21 +01:00
commit 3572e2eaf4

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'];