mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:10:13 +00:00
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
This commit is contained in:
parent
cc9b7bb14f
commit
8e6973b774
77 changed files with 263 additions and 259 deletions
|
@ -36,7 +36,7 @@ class Starred extends BaseModule
|
|||
$returnPath = $_REQUEST['return'] ?? '';
|
||||
if (!empty($returnPath)) {
|
||||
$rand = '_=' . time() . (strpos($returnPath, '?') ? '&' : '?') . 'rand';
|
||||
DI::app()->internalRedirect($returnPath . $rand);
|
||||
DI::baseUrl()->redirect($returnPath . $rand);
|
||||
}
|
||||
|
||||
// the json doesn't really matter, it will either be 0 or 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue