We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 150d011d authored by brokentwill's avatar brokentwill

Version 1.2.8 Add more magic functions in helper

parent be7d9a9d
......@@ -31,7 +31,7 @@ class OnlineBiz_ObBase_Helper_Data extends Mage_Core_Helper_Abstract
}
public function isEnabled() {
return $this->isActivated('OnlineBiz_'.$this->getOwnModuleName());
return $this->_isActivated('OnlineBiz_'.$this->getOwnModuleName());
}
//for writing trace or important information to log if debug is enabled
......@@ -76,7 +76,7 @@ class OnlineBiz_ObBase_Helper_Data extends Mage_Core_Helper_Abstract
return false;
}
public function isActivated($module, $key = false, $generalConfig = false)
protected function _isActivated($module, $key = false, $generalConfig = false)
{
//no need to pass Enabled path
if (!$generalConfig) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment