示例#1
0
文件: mahara.php 项目: kienv/mahara
/**
 * 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'));
}
示例#2
0
文件: lib.php 项目: rboyatt/mahara
 public static function clean_annotationfeedback_notifications()
 {
     safe_require('notification', 'internal');
     PluginNotificationInternal::clean_notifications(array('annotationfeedback'));
 }
示例#3
0
文件: lib.php 项目: vohung96/mahara
 public static function clean_forum_notifications()
 {
     safe_require('notification', 'internal');
     PluginNotificationInternal::clean_notifications(array('newpost'));
 }