mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Don't use removed API in install.php
This commit is contained in:
parent
77b47bac92
commit
195e09097a
@ -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'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user