Replace all functions from boot.php

This commit is contained in:
Michael 2022-10-18 20:42:46 +00:00 committed by Hypolite Petovan
parent 5f1028a535
commit 5d8129600d
45 changed files with 577 additions and 535 deletions

View file

@ -9,6 +9,7 @@
use Friendica\App;
use Friendica\Core\Hook;
use Friendica\Core\Session;
use Friendica\DI;
function viewsrc_install()
@ -32,7 +33,7 @@ EOS;
function viewsrc_item_photo_menu(App $a, array &$b)
{
if (!local_user()) {
if (!Session::getLocalUser()) {
return;
}