From 9f56bd96367f7f3cfa295f23b9129a7dfa1f21af Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Wed, 24 Nov 2010 08:16:10 -0500
Subject: [PATCH] Merged revisions 2095-2129 which contain bugfixes from stable branch.

---
 server/cron_daily.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/cron_daily.php b/server/cron_daily.php
index e9aedac..e3fc5be 100644
--- a/server/cron_daily.php
+++ b/server/cron_daily.php
@@ -295,7 +295,7 @@
 	$maxId = $res['max(action_id)'];
 	$sql =  "DELETE FROM sys_remoteaction " .
 			"WHERE tstamp < " . $tstamp . " " .
-			" AND action_status = 'ok' " .
+			" AND action_state = 'ok' " .
 			" AND action_id <" . intval($maxId);
 	$app->dbmaster->query($sql);
 

--
Gitblit v1.9.1