mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:10:11 +00:00
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
This commit is contained in:
parent
e57a87f224
commit
e944d7bed6
43 changed files with 76 additions and 120 deletions
|
@ -101,7 +101,7 @@ class Details extends BaseAdminModule
|
|||
'$page' => L10n::t('Addons'),
|
||||
'$toggle' => L10n::t('Toggle'),
|
||||
'$settings' => L10n::t('Settings'),
|
||||
'$baseurl' => $a->getBaseURL(true),
|
||||
'$baseurl' => DI::baseUrl()->get(true),
|
||||
|
||||
'$addon' => $addon,
|
||||
'$status' => $status,
|
||||
|
|
|
@ -14,8 +14,6 @@ class Index extends BaseAdminModule
|
|||
{
|
||||
parent::content($parameters);
|
||||
|
||||
$a = DI::app();
|
||||
|
||||
// reload active themes
|
||||
if (!empty($_GET['action'])) {
|
||||
parent::checkFormSecurityTokenRedirectOnError('/admin/addons', 'admin_addons', 't');
|
||||
|
@ -52,7 +50,7 @@ class Index extends BaseAdminModule
|
|||
'$page' => L10n::t('Addons'),
|
||||
'$submit' => L10n::t('Save Settings'),
|
||||
'$reload' => L10n::t('Reload active addons'),
|
||||
'$baseurl' => $a->getBaseURL(true),
|
||||
'$baseurl' => DI::baseUrl()->get(true),
|
||||
'$function' => 'addons',
|
||||
'$addons' => $addons,
|
||||
'$pcount' => count($addons),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue