mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
ee7445780b
commit
5f54485f8e
1 changed files with 2 additions and 1 deletions
|
@ -657,10 +657,11 @@ abstract class ObjectYPT implements ObjectInterface
|
||||||
if (!empty($global['ignoreAllCache'])) {
|
if (!empty($global['ignoreAllCache'])) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
self::setLastUsedCacheMode("No cache detected $name, $lifetime, " . intval($ignoreSessionCache));
|
|
||||||
if (isCommandLineInterface()) {
|
if (isCommandLineInterface()) {
|
||||||
|
self::setLastUsedCacheMode("No cache detected isCommandLineInterface $name, $lifetime, " . intval($ignoreSessionCache));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
self::setLastUsedCacheMode("No cache detected $name, $lifetime, " . intval($ignoreSessionCache));
|
||||||
if (isBot()) {
|
if (isBot()) {
|
||||||
$lifetime = 0;
|
$lifetime = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue