/** * A cronjob to clean general internal activity notifications */ function cron_clean_internal_activity_notifications() { safe_require('notification', 'internal'); PluginNotificationInternal::clean_notifications(array('viewaccess', 'watchlist', 'institutionmessage')); }
public static function clean_annotationfeedback_notifications() { safe_require('notification', 'internal'); PluginNotificationInternal::clean_notifications(array('annotationfeedback')); }
public static function clean_forum_notifications() { safe_require('notification', 'internal'); PluginNotificationInternal::clean_notifications(array('newpost')); }