Commit 54d15410ce0752f858c9bf464fbc6f7a094e0fce

Authored by Neil Blakey-Milner
1 parent d7d8a1d2

Use the notification handler with subDispatch.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5664 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 4 additions and 2 deletions
notify.php
... ... @@ -70,9 +70,11 @@ class KTNotificationDispatcher extends KTStandardDispatcher {
70 70 return $this->clearAll();
71 71 }
72 72  
73   -
74 73 // get the notification-handler, instantiate it, call resolveNotification.
75   - return $this->notification->resolve();
  74 + $oHandler =& $this->notification->getHandler();
  75 + $oHandler->notification =& $this->notification;
  76 + $oHandler->subDispatch($this);
  77 + exit(0);
76 78 }
77 79  
78 80 function clearAll() {
... ...