Skip to content

Commit 8932fec

Browse files
authored
Change private to protected for easier extending (#1324)
1 parent 96e8e90 commit 8932fec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/core/Mage/Adminhtml/Block/Notification/Security.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ class Mage_Adminhtml_Block_Notification_Security extends Mage_Adminhtml_Block_Te
3333
* File path for verification
3434
* @var string
3535
*/
36-
private $_filePath = 'app/etc/local.xml';
36+
protected $_filePath = 'app/etc/local.xml';
3737

3838
/**
3939
* Time out for HTTP verification request
4040
* @var int
4141
*/
42-
private $_verificationTimeOut = 2;
42+
protected $_verificationTimeOut = 2;
4343

4444
/**
4545
* Check verification result and return true if system must to show notification message
4646
*
4747
* @return bool
4848
*/
49-
private function _canShowNotification()
49+
protected function _canShowNotification()
5050
{
5151
if (Mage::app()->loadCache(self::VERIFICATION_RESULT_CACHE_KEY)) {
5252
return false;
@@ -64,7 +64,7 @@ private function _canShowNotification()
6464
*
6565
* @return bool
6666
*/
67-
private function _isFileAccessible()
67+
protected function _isFileAccessible()
6868
{
6969
$defaultUnsecureBaseURL = (string) Mage::getConfig()->getNode('default/' . Mage_Core_Model_Store::XML_PATH_UNSECURE_BASE_URL);
7070

0 commit comments

Comments
 (0)