Version 4.6.0

This commit is contained in:
Neo committed 2025-12-19 05:55:31 -08:00
1 parent f79dcf067a
commit 517a5e1f70
2036 files changed
+110041 -26162

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ class _clearcache extends \IPS\Task
\IPS\Output\Cache::i()->deleteExpired();
/* If we are using Redis, ensure that core_store is empty. We may have switched over to Redis from MySQL and if we switch back, we do not want stale data being used */
if ( \IPS\STORE_METHOD !== 'Database' )
if ( \IPS\STORE_METHOD !== 'Database' AND \IPS\Db::i()->select( 'count(*)', 'core_store' )->first() )
{
\IPS\Db::i()->delete( 'core_store' );
}