old boot.php functions replaced in src/module (4)
This commit is contained in:
committed by
Hypolite Petovan
parent
de6eabde58
commit
d47d78f2d4
@@ -21,6 +21,7 @@
|
||||
|
||||
namespace Friendica\Module\Update;
|
||||
|
||||
use Friendica\Core\Session;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Item;
|
||||
@@ -75,7 +76,7 @@ class Network extends NetworkModule
|
||||
$ordering = '`commented`';
|
||||
}
|
||||
|
||||
$o = DI::conversation()->create($items, 'network', $profile_uid, false, $ordering, local_user());
|
||||
$o = DI::conversation()->create($items, 'network', $profile_uid, false, $ordering, Session::getLocalUser());
|
||||
}
|
||||
|
||||
System::htmlUpdateExit($o);
|
||||
|
||||
Reference in New Issue
Block a user