mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
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
This commit is contained in:
parent
3d1731b7cc
commit
8d5ce7bbb4
1 changed files with 4 additions and 8 deletions
|
@ -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)
|
foreach ($forum_ary as $forum_id => $option_ary)
|
||||||
{
|
{
|
||||||
if (array_sum(array_values($option_ary)))
|
if (array_sum(array_values($option_ary)))
|
||||||
{
|
{
|
||||||
echo array_sum(array_values($option_ary));
|
$notify_rows[$user_id]['allowed'] = true;
|
||||||
echo " >> ";
|
break;
|
||||||
// $perms[] = $user_id;
|
|
||||||
// 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. ;)
|
// 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();
|
$email_users = $delete_ids = $update_notification = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue