diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-09 11:29:30 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-09 11:29:30 +0000 |
commit | 61071fdef2241e5032426f1634a3ddfd84c758f5 (patch) | |
tree | 60d8a42b9f98fe7cab1f98d50ef45c1e14b728f0 /engine | |
parent | 42b2d6c266866bbfac07c894d7fe3e6480915ee8 (diff) | |
download | elgg-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
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/notification.php | 1 |
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) {
|