mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
App::get_baseurl is now replaced with System::baseUrl
This commit is contained in:
parent
3c24bed412
commit
5adfeb0bd5
134 changed files with 603 additions and 624 deletions
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
|
||||
require_once("include/NotificationsManager.php");
|
||||
require_once("include/contact_selectors.php");
|
||||
|
@ -14,7 +15,7 @@ require_once("include/network.php");
|
|||
function notifications_post(App $a) {
|
||||
|
||||
if (! local_user()) {
|
||||
goaway(z_root());
|
||||
goaway(System::baseUrl());
|
||||
}
|
||||
|
||||
$request_id = (($a->argc > 1) ? $a->argv[1] : 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue