mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 16:34:33 +02:00
Get rid of App->user completely
This commit is contained in:
parent
fc283ab928
commit
28090bd793
39 changed files with 158 additions and 234 deletions
|
@ -45,7 +45,7 @@ class Delegation extends BaseModule
|
|||
}
|
||||
|
||||
$uid = local_user();
|
||||
$orig_record = DI::app()->user;
|
||||
$orig_record = User::getById(DI::app()->getUserId());
|
||||
|
||||
if (Session::get('submanage')) {
|
||||
$user = User::getById(Session::get('submanage'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue