mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 03:30:48 +03:00
fix hook and cache
This commit is contained in:
parent
77ae613a53
commit
16be721e7b
2
engine/modules/cache/Cache.class.php
vendored
2
engine/modules/cache/Cache.class.php
vendored
|
@ -368,7 +368,7 @@ class ModuleCache extends Module {
|
|||
* @return mixed
|
||||
*/
|
||||
public function GetLife($sName) {
|
||||
if (key_exists($sName,$this->aStoreLife)) {
|
||||
if (array_key_exists($sName,$this->aStoreLife)) {
|
||||
return $this->aStoreLife[$sName];
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
* @author Sergey S Yaglov
|
||||
* @link http://livestreet.ru/profile/1d10t
|
||||
*/
|
||||
var ls = ls || {};
|
||||
|
||||
ls.hook = (function ($) {
|
||||
this.hooks = {};
|
||||
|
||||
|
|
Loading…
Reference in a new issue