mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
old boot.php functions replaced in src/module
This commit is contained in:
parent
ba9f145ef7
commit
d2da2492b7
21 changed files with 103 additions and 86 deletions
|
@ -22,6 +22,7 @@
|
|||
namespace Friendica\Module;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Core\Session;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\DI;
|
||||
use Friendica\Protocol\Feed as ProtocolFeed;
|
||||
|
@ -46,7 +47,7 @@ class Feed extends BaseModule
|
|||
protected function rawContent(array $request = [])
|
||||
{
|
||||
$last_update = $this->getRequestValue($request, 'last_update', '');
|
||||
$nocache = !empty($request['nocache']) && local_user();
|
||||
$nocache = !empty($request['nocache']) && Session::getLocalUser();
|
||||
|
||||
$type = null;
|
||||
// @TODO: Replace with parameter from router
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue