]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Bugfix to archive logs sql
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 16 Jun 2009 12:03:53 +0000 (12:03 +0000)
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 16 Jun 2009 12:03:53 +0000 (12:03 +0000)
git-svn-id: https://code.elgg.org/elgg/trunk@3336 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/system_log.php

index 8f546598f06bd6cbaadd24e49c903caa5e02a575..b4db21ef529895cb8cb001b0cad1ec0bb71aa17a 100644 (file)
                        return false;\r
 \r
                // delete\r
-               if (delete_data("DELETE from {$CONFIG->dbprefix}system_log WHERE time_created<$ts)")===false) // Don't delete on time since we are running in a concurrent environment\r
+               if (delete_data("DELETE from {$CONFIG->dbprefix}system_log WHERE time_created<$ts")===false) // Don't delete on time since we are running in a concurrent environment\r
                        return false;
                        
                // alter table to engine