Update notifications

This commit is contained in:
Romain Neutron
2013-01-22 15:22:04 +01:00
parent b5980ab866
commit 9cce7ab8f9
51 changed files with 1188 additions and 893 deletions

View File

@@ -29,4 +29,9 @@ abstract class eventsmanager_notifyAbstract extends eventsmanager_eventAbstract
return $user->getPrefs('notification_' . $class);
}
protected function shouldSendNotificationFor($usr_id)
{
return 0 !== (int) $this->get_prefs(get_class($this), $usr_id);
}
}