mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
- acm::exists() is considered private now and was renamed to acm::_exists()
git-svn-id: file:///svn/phpbb/trunk@5425 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -114,12 +114,17 @@ class acm
|
||||
{
|
||||
global $phpEx;
|
||||
|
||||
if (!$this->_exists($var_name))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
include($this->cache_dir . 'data' . $var_name . ".$phpEx");
|
||||
return (isset($data)) ? $data : NULL;
|
||||
return (isset($data)) ? $data : false;
|
||||
}
|
||||
else
|
||||
{
|
||||
return ($this->exists($var_name)) ? $this->vars[$var_name] : NULL;
|
||||
return ($this->_exists($var_name)) ? $this->vars[$var_name] : false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -184,7 +189,7 @@ class acm
|
||||
}
|
||||
}
|
||||
|
||||
function exists($var_name)
|
||||
function _exists($var_name)
|
||||
{
|
||||
if ($var_name{0} == '_')
|
||||
{
|
||||
|
Reference in New Issue
Block a user