Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jul 1, 2024
1 parent 1fcb6b0 commit de7cfb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/Cache/Objects/CachesInDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public static function set_innodb_lock_wait_timeout($timeout = 10)

public static function _deleteCacheStartingWith($name)
{
if(isBot() && !preg_match('/plugin\/Live\/on_/', $_SERVER['SCRIPT_NAME'])){
if((isBot() && !isCommandLineInterface()) && !preg_match('/plugin\/Live\/on_/', $_SERVER['SCRIPT_NAME'])){
_error_log("CachesInDB::_deleteCacheStartingWith($name) error line=".__LINE__);
return false;
}
Expand Down

0 comments on commit de7cfb6

Please sign in to comment.