protected function restoreErrorContext()
    {
        if (!Mage::getStoreConfigFlag('system/cron/enableErrorLog')) {
            return;
        }

        restore_error_handler();
        foreach ($this->errorSettingsBackup as $key => $value) {
            ini_set($key, $value);
        }
    }
protected function restoreErrorContext()
    {
        if (!Mage::getStoreConfigFlag('system/cron/enableErrorLog')) {
            return;
        }

        restore_error_handler();
        foreach ($this->errorSettingsBackup as $key => $value) {
            ini_set($key, $value);
        }
    }
protected function restoreErrorContext ( ) { if ( ! Mage :: getStoreConfigFlag ( 'system/cron/enableErrorLog' ) ) { return ; } restore_error_handler ( ) ; foreach ( $ this -> errorSettingsBackup as $ key => $ value ) { ini_set ( $ key , $ value ) ; } }
Restore the original error context
Restore the original error context