diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-10-12 14:56:53 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-10-12 14:56:53 +0000 |
| commit | 8d5ce7bbb467c131fd99150628fd35aa89dbb4a6 (patch) | |
| tree | 4858df7097916a5906860c40aa06c0ae8dacd524 /phpBB/posting.php | |
| parent | 3d1731b7cc10657440546197e14640b9e41fab32 (diff) | |
| download | forums-8d5ce7bbb467c131fd99150628fd35aa89dbb4a6.tar forums-8d5ce7bbb467c131fd99150628fd35aa89dbb4a6.tar.gz forums-8d5ce7bbb467c131fd99150628fd35aa89dbb4a6.tar.bz2 forums-8d5ce7bbb467c131fd99150628fd35aa89dbb4a6.tar.xz forums-8d5ce7bbb467c131fd99150628fd35aa89dbb4a6.zip | |
do not delete all users, i do not know if this was intended paul. :)
user_jabber not used within messenger object, only 'email' defined.
git-svn-id: file:///svn/phpbb/trunk@4581 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index a851a15670..92cabba152 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1198,22 +1198,18 @@ function user_notification($mode, $subject, $topic_title, $forum_name, $forum_id } - $perms = array(); -/* foreach (discover_auth(array_keys($notify_rows), array('f_read'), $forum_id) as $user_id => $forum_ary) + foreach (discover_auth(array_keys($notify_rows), array('f_read'), $forum_id) as $user_id => $forum_ary) { foreach ($forum_ary as $forum_id => $option_ary) { if (array_sum(array_values($option_ary))) { - echo array_sum(array_values($option_ary)); - echo " >> "; -// $perms[] = $user_id; -// break; + $notify_rows[$user_id]['allowed'] = true; + break; } } - print_r($forum_ary); } -*/ + // Now, we have to do a little step before really sending, we need to distinguish our users a little bit. ;) $email_users = $delete_ids = $update_notification = array(); |
