aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-09 11:29:30 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-09 11:29:30 +0000
commit61071fdef2241e5032426f1634a3ddfd84c758f5 (patch)
tree60d8a42b9f98fe7cab1f98d50ef45c1e14b728f0
parent42b2d6c266866bbfac07c894d7fe3e6480915ee8 (diff)
downloadelgg-61071fdef2241e5032426f1634a3ddfd84c758f5.tar.gz
elgg-61071fdef2241e5032426f1634a3ddfd84c758f5.tar.bz2
Banned users no longer get notifications
git-svn-id: https://code.elgg.org/elgg/trunk@3134 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/notification.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 4a5ca5051..c12cf65ce 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -396,6 +396,7 @@
foreach($interested_users as $user) {
if ($user instanceof ElggUser) {
+ if (!$user->isBanned())
if (($user->guid != $SESSION['user']->guid) && has_access_to_entity($object,$user)
&& $object->access_id != ACCESS_PRIVATE) {