aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscript/clear-attachment-cache9
-rwxr-xr-xscript/clear-incoming-text-cache9
2 files changed, 9 insertions, 9 deletions
diff --git a/script/clear-attachment-cache b/script/clear-attachment-cache
deleted file mode 100755
index 5cf1dc4c4..000000000
--- a/script/clear-attachment-cache
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-# Clear the cache of attachment text.
-
-LOC=`dirname $0`
-
-$LOC/runner "ActiveRecord::Base.connection.execute(\"update incoming_messages set cached_attachment_text = null\")"
-
-
diff --git a/script/clear-incoming-text-cache b/script/clear-incoming-text-cache
new file mode 100755
index 000000000..2b3273017
--- /dev/null
+++ b/script/clear-incoming-text-cache
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Clear the cache of attachment and body text.
+
+LOC=`dirname $0`
+
+$LOC/runner "ActiveRecord::Base.connection.execute(\"update incoming_messages set cached_attachment_text = null, cached_main_body_text = null\")"
+
+