Guest User

lib/notifications/notificationemaillib.php

a guest
Jul 8th, 2010
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.46 KB | None | 0 0
  1.     // Users watching this forum or this post
  2.     if ($prefs['feature_user_watches'] == 'y' || $prefs['feature_group_watches'] == 'y') {
  3.         $nots_raw = $tikilib->get_event_watches($event, $event == 'forum_post_topic'? $forum_info['forumId']: $threadId, $forum_info);
  4.         $nots = array();
  5.         foreach( $nots_raw as $n ) {
  6.             if( $n['user'] != $author ) {
  7.                 $n['language'] = $tikilib->get_user_preference($n['user'], "language", $defaultLanguage);
  8.                 $nots[] = $n;
  9.             }
  10.         }
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment