code/libraries/joomlatools/plugin/koowa/subscriber.php
public function unsubscribe(KEventPublisherInterface $publisher)
    {
        $handle = $publisher->getHandle();

        if($this->isSubscribed($publisher));
        {
            foreach ($this->__publishers[$handle] as $index => $listener)
            {
                $publisher->removeListener($listener, array($this, $listener));
                unset($this->__publishers[$handle][$index]);
            }
        }
    }
public function unsubscribe(KEventPublisherInterface $publisher)
    {
        $handle = $publisher->getHandle();

        if($this->isSubscribed($publisher));
        {
            foreach ($this->__publishers[$handle] as $index => $listener)
            {
                $publisher->removeListener($listener, array($this, $listener));
                unset($this->__publishers[$handle][$index]);
            }
        }
    }
public function unsubscribe ( KEventPublisherInterface $ publisher ) { $ handle = $ publisher -> getHandle ( ) ; if ( $ this -> isSubscribed ( $ publisher ) ) ; { foreach ( $ this -> __publishers [ $ handle ] as $ index => $ listener ) { $ publisher -> removeListener ( $ listener , array ( $ this , $ listener ) ) ; unset ( $ this -> __publishers [ $ handle ] [ $ index ] ) ; } } }
Detach all previously attached listeners for the specific dispatcher

@param KEventPublisherInterface $publisher
@return void
Detach all previously attached listeners for the specific dispatcher