Fix in CREATE_EXTENSION_DEACTIVATION_TASK() and coding-style updated
[mailer.git] / inc / autopurge / purge-tsks.php
index 96124da6be91095b8d2ae3c10fa53c8818ec8459..ed61827b87dacce7a2eb4db9664e2702473382a6 100644 (file)
@@ -49,10 +49,10 @@ if ((GET_EXT_VERSION("task") > "0.0") && (getConfig('ap_tasks') == "Y")) {
        $since = bigintval(getConfig('ap_tasks_time'));
 
        // Purge deleted tasks (no notification to admin)
-       $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY
+       SQL_QUERY_ESC("DELETE LOW_PRIORITY
 FROM "._MYSQL_PREFIX."_task_system
 WHERE status='DELETED' AND task_created <= (UNIX_TIMESTAMP() - %s)",
-        array($since), __FILE__, __LINE__);
+               array($since), __FILE__, __LINE__);
        $DELETED = SQL_AFFECTEDROWS();
 
        if (($DELETED > 0) && (getConfig('ap_tasks_notify') == "Y")) {