protected function rawContent(array $request = [])
{
$last_update = $this->getRequestValue($request, 'last_update', '');
- $nocache = !empty($request['nocache']) && local_user();
+ $nocache = !empty($request['nocache']) && DI::userSession()->getLocalUserId();
$type = null;
// @TODO: Replace with parameter from router