From 7fb577bc8f7c0fd24c7d6119bdf87f3cee4a1418 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 01 Feb 2012 02:33:45 -0500
Subject: [PATCH] Swiss German translation for markasjunk plugin
---
program/steps/utils/killcache.inc | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/program/steps/utils/killcache.inc b/program/steps/utils/killcache.inc
index b49d36c..61426e2 100644
--- a/program/steps/utils/killcache.inc
+++ b/program/steps/utils/killcache.inc
@@ -4,12 +4,12 @@
+-----------------------------------------------------------------------+
| program/steps/utils/killcache.inc |
| |
- | This file is part of the RoundCube Webmail client |
- | Copyright (C) 2005-2010, RoundCube Dev. - Switzerland |
+ | This file is part of the Roundcube Webmail client |
+ | Copyright (C) 2005-2010, The Roundcube Dev Team |
| Licensed under the GNU GPL |
| |
| PURPOSE: |
- | Delete rows from cache and messages tables |
+ | Delete rows from cache tables |
| |
+-----------------------------------------------------------------------+
| Author: Dennis P. Nikolaenko <dennis@nikolaenko.ru> |
@@ -41,12 +41,20 @@
exit($res->getMessage());
}
-$res = $RCMAIL->db->query("DELETE FROM messages");
+$res = $RCMAIL->db->query("DELETE FROM cache_messages");
+if (PEAR::isError($res)) {
+ exit($res->getMessage());
+}
+
+$res = $RCMAIL->db->query("DELETE FROM cache_index");
+if (PEAR::isError($res)) {
+ exit($res->getMessage());
+}
+
+$res = $RCMAIL->db->query("DELETE FROM cache_thread");
if (PEAR::isError($res)) {
exit($res->getMessage());
}
echo "Cache cleared\n";
exit;
-
-
--
Gitblit v1.9.1