mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Un-b0rked ACL options caching, small general fixes
git-svn-id: file:///svn/phpbb/trunk@3338 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -67,7 +67,7 @@ class acm
|
||||
}
|
||||
}
|
||||
|
||||
function save($varname, $var)
|
||||
function put($varname, $var)
|
||||
{
|
||||
$this->vars[$varname] = $var;
|
||||
$this->vars_ts[$varname] = time();
|
||||
@@ -84,7 +84,7 @@ class acm
|
||||
}
|
||||
}
|
||||
|
||||
function load($varname, $expire_time = 0)
|
||||
function get($varname, $expire_time = 0)
|
||||
{
|
||||
return ($this->exists($varname, $expire_time)) ? $this->vars[$varname] : null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user