mirror of
https://github.com/friendica/friendica
synced 2025-05-14 16:24:11 +02:00
Replace calls for App::redirect() with AppHelper
This commit is contained in:
parent
2c0db2f043
commit
d87f24f17a
3 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@ class Acknowledge extends BaseApi
|
|||
protected function post(array $request = [])
|
||||
{
|
||||
DI::session()->set('oauth_acknowledge', true);
|
||||
DI::app()->redirect(DI::session()->get('return_path'));
|
||||
DI::apphelper()->redirect(DI::session()->get('return_path'));
|
||||
}
|
||||
|
||||
protected function content(array $request = []): string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue