summaryrefslogtreecommitdiff
path: root/modules/pref-filters.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-28 18:49:17 +0300
committerAndrew Dolgov <[email protected]>2010-01-28 18:49:17 +0300
commit0b9751cd650c917d3e7f5dc5493483f8b026bf21 (patch)
tree5a1526f465e11835dd9df3ab9a4e298b939ad52d /modules/pref-filters.php
parent2712bcea09a5db4477fefbf939324d24cb72d838 (diff)
theme_image: do not display themed image if noone is logged in
Diffstat (limited to 'modules/pref-filters.php')
-rw-r--r--modules/pref-filters.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/pref-filters.php b/modules/pref-filters.php
index 5c71fcb03..50120a2e7 100644
--- a/modules/pref-filters.php
+++ b/modules/pref-filters.php
@@ -215,8 +215,6 @@
}
if ($subop == "remove") {
-
- if ($memcache) $memcache->flush();
$ids = split(",", db_escape_string($_REQUEST["ids"]));
@@ -226,9 +224,7 @@
}
if ($subop == "add") {
-
- if ($memcache) $memcache->flush();
-
+
$regexp = db_escape_string(trim($_REQUEST["reg_exp"]));
$filter_type = db_escape_string(trim($_REQUEST["filter_type"]));
$feed_id = db_escape_string($_REQUEST["feed_id"]);