Removal of sql_patches should now remove what=stats2 in member menu
authorRoland Häder <roland@mxchange.org>
Sat, 30 Aug 2008 12:33:30 +0000 (12:33 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 30 Aug 2008 12:33:30 +0000 (12:33 +0000)
inc/extensions/ext-sql_patches.php

index 2c9e188e5c4fdcbd78f1ba8c9c4db9ab90e2ed8d..e71bf2c68a5cb1fb11c78f2f83fb486f72da055a 100644 (file)
@@ -72,10 +72,11 @@ LIMIT 13";
        $SQLs[] = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_member_menu WHERE
 action='themes' OR
 what='themes' OR
        $SQLs[] = "DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_member_menu WHERE
 action='themes' OR
 what='themes' OR
+what='stats2' OR
 (action='stats' AND (what='' OR what IS NULL)) OR
 (action='extras' AND (what='' OR what IS NULL)) OR
 (action='rals' AND (what='' OR what IS NULL)) OR
 (action='stats' AND (what='' OR what IS NULL)) OR
 (action='extras' AND (what='' OR what IS NULL)) OR
 (action='rals' AND (what='' OR what IS NULL)) OR
-(action='account' AND (what='' OR what IS NULL)) LIMIT 7";
+(action='account' AND (what='' OR what IS NULL)) LIMIT 8";
        $SQLs[] = "UPDATE "._MYSQL_PREFIX."_member_menu SET action='main' WHERE
 action='stats' OR
 action='extras' OR
        $SQLs[] = "UPDATE "._MYSQL_PREFIX."_member_menu SET action='main' WHERE
 action='stats' OR
 action='extras' OR