From 54d15410ce0752f858c9bf464fbc6f7a094e0fce Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Tue, 11 Jul 2006 13:38:16 +0000 Subject: [PATCH] Use the notification handler with subDispatch. --- notify.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/notify.php b/notify.php index f6c43da..4c53621 100644 --- a/notify.php +++ b/notify.php @@ -70,9 +70,11 @@ class KTNotificationDispatcher extends KTStandardDispatcher { return $this->clearAll(); } - // get the notification-handler, instantiate it, call resolveNotification. - return $this->notification->resolve(); + $oHandler =& $this->notification->getHandler(); + $oHandler->notification =& $this->notification; + $oHandler->subDispatch($this); + exit(0); } function clearAll() { -- libgit2 0.21.4