Skip to content

Commit

Permalink
updates due to merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nandadubey committed Mar 8, 2018
1 parent d2bd1d4 commit 7be8a66
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@ class Affirm_Affirm_Model_Adminhtml_Observer
{
/**
* Predispatch action controller
* @param Varien_Event_Observer $observer
*/
public function preDispatch()
public function preDispatch(Varien_Event_Observer $observer)
{
Mage::log(__METHOD__);
/* @var $session Mage_Admin_Model_Session */
$session = Mage::getSingleton('admin/session');
if ($session->isLoggedIn()) {
$feedModel = Mage::getModel(
'affirm/feed'
);
$feedModel = Mage::getModel('affirm/feed');
/* @var $feedModel Mage_AdminNotification_Model_Feed */
$feedModel->checkUpdate();
}
}

}

0 comments on commit 7be8a66

Please sign in to comment.