- Daily/weekly/monthly reset completely rewritten
[mailer.git] / inc / libs / cache_functions.php
index 9e5202d55878008d3336176e4a93091e0261af52..619579d5377425ef1ff8926e807723d9098a12ed 100644 (file)
@@ -68,8 +68,7 @@ class mxchange_cache
                                // Is there a .htaccess file?
                                if (file_exists($path.".htaccess")) {
                                        // Update database that we have tested it
-                                       $result = SQL_QUERY("UPDATE "._MYSQL_PREFIX."_config SET cache_tested='1' WHERE config=0 LIMIT 1", __FILE__, __LINE__);
-                                       $this->ret="done";
+                                       UPDATE_CONFIG("cache_tested", 1);
 
                                        // All done!
                                        return "done";