Commit 45d832b8 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make sure the default notification type for admin notifications is 'none', by...

Make sure the default notification type for admin notifications is 'none', by correcting what the User class thinks the default is. Fixes #2062.
parent 7787605d
......@@ -279,7 +279,7 @@ class User {
*/
public function get_activity_preference($key) {
$activityprefs = $this->get('activityprefs');
return isset($activityprefs[$key]) ? $activityprefs[$key] : 'email';
return isset($activityprefs[$key]) ? $activityprefs[$key] : null;
}
/** @todo document this method */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment