mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +00:00
Remove direct calls to App->user
This commit is contained in:
parent
266ee26240
commit
fc283ab928
51 changed files with 238 additions and 166 deletions
|
@ -155,6 +155,8 @@ class User
|
|||
$system['region'] = '';
|
||||
$system['country-name'] = '';
|
||||
$system['net-publish'] = false;
|
||||
$system['picdate'] = '';
|
||||
$system['theme'] = '';
|
||||
|
||||
// Ensure that the user contains data
|
||||
$user = DBA::selectFirst('user', ['prvkey', 'guid'], ['uid' => 0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue