Index: branches/5.3.x/core/kernel/managers/cache_manager.php =================================================================== diff -u -N -r15919 -r15928 --- branches/5.3.x/core/kernel/managers/cache_manager.php (.../cache_manager.php) (revision 15919) +++ branches/5.3.x/core/kernel/managers/cache_manager.php (.../cache_manager.php) (revision 15928) @@ -1,6 +1,6 @@ implode(',', $this->Application->Phrases->Ids), - 'CacheDate' => adodb_mktime(), + 'CacheDate' => time(), 'Template' => md5( $this->getCacheKey() ), 'ConfigVariables' => implode(',', array_unique($this->configIDs)), ); @@ -340,7 +340,7 @@ $this->getToCache() ); - $cache_rebuild_by = SERVER_NAME . ' (' . $this->Application->getClientIp() . ') - ' . adodb_date('d/m/Y H:i:s'); + $cache_rebuild_by = SERVER_NAME . ' (' . $this->Application->getClientIp() . ') - ' . date('d/m/Y H:i:s'); if ($this->Application->isCachingType(CACHING_TYPE_MEMORY)) { $this->Application->setCache('master:configs_parsed', serialize($cache)); @@ -650,7 +650,7 @@ $lifetime = (int)$cached_data[$name]['LifeTime']; // in seconds - if ( ($lifetime > 0) && ($cached_data[$name]['Cached'] + $lifetime < adodb_mktime()) ) { + if ( ($lifetime > 0) && ($cached_data[$name]['Cached'] + $lifetime < time()) ) { // delete expired $this->Conn->nextQueryCachable = true; @@ -704,7 +704,7 @@ $fields_hash = Array ( 'VarName' => $name, 'Data' => &$value, - 'Cached' => adodb_mktime(), + 'Cached' => time(), 'LifeTime' => (int)$expiration, );