Commit f83de704273549676d57dd34b7df6f3f4e91361c
1 parent
f4fc7158
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() { | ... | ... |