mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
7695fd0fee
commit
a843d34bcb
2 changed files with 8 additions and 3 deletions
|
@ -1112,7 +1112,8 @@ abstract class CacheHandler {
|
|||
$timeLog = __FILE__ . "::deleteCache ";
|
||||
TimeLogStart($timeLog);
|
||||
$prefix = $this->getCacheSubdir();
|
||||
if (class_exists('CachesInDB')) {
|
||||
if (class_exists('CachesInDB')) {
|
||||
_error_log("deleteCache CachesInDB");
|
||||
CacheDB::deleteCacheStartingWith($prefix);
|
||||
}
|
||||
TimeLogEnd($timeLog, __LINE__);
|
||||
|
@ -1121,6 +1122,7 @@ abstract class CacheHandler {
|
|||
unset($_SESSION['user']['sessionCache']);
|
||||
TimeLogEnd($timeLog, __LINE__);
|
||||
if($clearFirstPageCache){
|
||||
_error_log("deleteCache clearFirstPageCache");
|
||||
clearCache(true);
|
||||
}
|
||||
TimeLogEnd($timeLog, __LINE__);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue