From 61071fdef2241e5032426f1634a3ddfd84c758f5 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 9 Mar 2009 11:29:30 +0000 Subject: Banned users no longer get notifications git-svn-id: https://code.elgg.org/elgg/trunk@3134 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/notification.php | 1 + 1 file changed, 1 insertion(+) (limited to 'engine/lib/notification.php') 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) { -- cgit v1.2.3