mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:10:24 +00:00
Fixings
- Rename "facStorage" to "storageManager" - Fix indentation - Fix tests
This commit is contained in:
parent
bfae6766bf
commit
016cfcd846
7 changed files with 45 additions and 46 deletions
|
@ -202,7 +202,7 @@ class Site extends BaseAdminModule
|
|||
$storagebackend = Strings::escapeTags(trim($_POST['storagebackend'] ?? ''));
|
||||
|
||||
// save storage backend form
|
||||
if (DI::facStorage()->setBackend($storagebackend)) {
|
||||
if (DI::storageManager()->setBackend($storagebackend)) {
|
||||
$storage_opts = DI::storage()->getOptions();
|
||||
$storage_form_prefix = preg_replace('|[^a-zA-Z0-9]|', '', $storagebackend);
|
||||
$storage_opts_data = [];
|
||||
|
@ -534,7 +534,7 @@ class Site extends BaseAdminModule
|
|||
$available_storage_backends[''] = L10n::t('Database (legacy)');
|
||||
}
|
||||
|
||||
foreach (DI::facStorage()->listBackends() as $name => $class) {
|
||||
foreach (DI::storageManager()->listBackends() as $name => $class) {
|
||||
$available_storage_backends[$name] = $name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue