code/Debug/Model/Observer.php
public function onWebsiteRestriction(Varien_Event_Observer $observer)
    {
        /** @var Mage_Core_Controller_Front_Action $controller */
        $controller = $observer->getController();
        /** @var Varien_Object $result */
        $result = $observer->getResult();

        $helper = Mage::helper('sheep_debug');
        if ($helper->canShowToolbar() && $controller instanceof Sheep_Debug_Controller_Front_Action) {
            $result->setShouldProceed(false);
        }

    }
public function onWebsiteRestriction(Varien_Event_Observer $observer)
    {
        /** @var Mage_Core_Controller_Front_Action $controller */
        $controller = $observer->getController();
        /** @var Varien_Object $result */
        $result = $observer->getResult();

        $helper = Mage::helper('sheep_debug');
        if ($helper->canShowToolbar() && $controller instanceof Sheep_Debug_Controller_Front_Action) {
            $result->setShouldProceed(false);
        }

    }
public function onWebsiteRestriction ( Varien_Event_Observer $ observer ) { /** @var Mage_Core_Controller_Front_Action $controller */ $ controller = $ observer -> getController ( ) ; /** @var Varien_Object $result */ $ result = $ observer -> getResult ( ) ; $ helper = Mage :: helper ( 'sheep_debug' ) ; if ( $ helper -> canShowToolbar ( ) && $ controller instanceof Sheep_Debug_Controller_Front_Action ) { $ result -> setShouldProceed ( false ) ; } }
Disables website restriction module for requests handled by our module

@param Varien_Event_Observer $observer
Disables website restriction module for requests handled by our module