Skip to content

Commit

Permalink
Adds block method _getApp to support Magento CE 1.7 #57
Browse files Browse the repository at this point in the history
  • Loading branch information
madalinoprea committed Mar 3, 2016
1 parent ac74be9 commit e2500be
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions code/Debug/Block/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@ public function getCacheLifetime()
return null;
}

/**
* Retrieve application instance
*
* Method added to support Magento CE 1.7
*
* @return Mage_Core_Model_App
*/
protected function _getApp()
{
return Mage::app();
}


/**
* Returns id for default configured store
Expand Down

0 comments on commit e2500be

Please sign in to comment.