From: edward Date: Tue, 10 Nov 2015 03:52:58 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=5ca84d44eff65325bf291950ed092561dd7fac3b NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index 9bd658bf..fed4eae8 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -143,7 +143,7 @@ class Pman_Core_NotifySend extends Pman $p = $w->person(); - print_R($p);exit; + if (isset($p->active) && empty($p->active)) { $ev = $this->addEvent('NOTIFY', $w, "Notification event cleared (not user not active any more)" );;