コード例 #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'));
 }