Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification_Security block - private to protected for easier extending #1324

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/code/core/Mage/Adminhtml/Block/Notification/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ class Mage_Adminhtml_Block_Notification_Security extends Mage_Adminhtml_Block_Te
* File path for verification
* @var string
*/
private $_filePath = 'app/etc/local.xml';
protected $_filePath = 'app/etc/local.xml';

/**
* Time out for HTTP verification request
* @var int
*/
private $_verificationTimeOut = 2;
protected $_verificationTimeOut = 2;

/**
* Check verification result and return true if system must to show notification message
*
* @return bool
*/
private function _canShowNotification()
protected function _canShowNotification()
{
if (Mage::app()->loadCache(self::VERIFICATION_RESULT_CACHE_KEY)) {
return false;
Expand All @@ -64,7 +64,7 @@ private function _canShowNotification()
*
* @return bool
*/
private function _isFileAccessible()
protected function _isFileAccessible()
{
$defaultUnsecureBaseURL = (string) Mage::getConfig()->getNode('default/' . Mage_Core_Model_Store::XML_PATH_UNSECURE_BASE_URL);

Expand Down