Skip to content
Snippets Groups Projects
Commit ca4cf76c authored by Philipp Schüttlöffel's avatar Philipp Schüttlöffel Committed by Jan-Hendrik Willms
Browse files

Resolve "Blubber: memory size exhausted bei zu vielen Notifications"

Closes #2475

Merge request studip/studip!1981
parent bee4cb14
No related branches found
No related tags found
No related merge requests found
......@@ -371,7 +371,7 @@ class PersonalNotifications extends SimpleORMap
if (!$user_id) {
$user_id = $GLOBALS['user']->id;
}
return UserConfig::get($user_id)->getValue("PERSONAL_NOTIFICATIONS_DEACTIVATED") ? false : true;
return (new UserConfig($user_id))->getValue('PERSONAL_NOTIFICATIONS_DEACTIVATED') ? false : true;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment