mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
This commit is contained in:
parent
33dae7eb94
commit
99db3452e3
4 changed files with 10 additions and 7 deletions
|
@ -13,6 +13,7 @@ use Friendica\Core\Hook;
|
|||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Logger;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\ConfigFileLoader;
|
||||
use Friendica\Util\Proxy as ProxyUtils;
|
||||
use Friendica\Util\Strings;
|
||||
|
@ -34,8 +35,7 @@ function impressum_uninstall() {
|
|||
function impressum_module() {
|
||||
}
|
||||
function impressum_content() {
|
||||
$a = \get_app();
|
||||
$a->internalRedirect('friendica/');
|
||||
DI::baseUrl()->redirect('friendica/');
|
||||
}
|
||||
|
||||
function obfuscate_email ($s) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue