1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 02:09:17 +00:00

remove memcached stuff

This commit is contained in:
Andrew Dolgov
2012-07-06 14:37:03 +04:00
parent 713d98563d
commit 0e4a7d7a94
4 changed files with 118 additions and 224 deletions

View File

@@ -402,10 +402,6 @@ class Pref_Filters extends Protected_Handler {
function editSave() {
global $memcache;
if ($memcache) $memcache->flush();
$savemode = db_escape_string($_REQUEST["savemode"]);
$reg_exp = db_escape_string(trim($_REQUEST["reg_exp"]));
$filter_type = db_escape_string(trim($_REQUEST["filter_type"]));
@@ -476,8 +472,6 @@ class Pref_Filters extends Protected_Handler {
function remove() {
if ($memcache) $memcache->flush();
$ids = split(",", db_escape_string($_REQUEST["ids"]));
foreach ($ids as $id) {
@@ -487,8 +481,6 @@ class Pref_Filters extends Protected_Handler {
function add() {
if ($memcache) $memcache->flush();
$savemode = db_escape_string($_REQUEST["savemode"]);
$regexp = db_escape_string(trim($_REQUEST["reg_exp"]));
$filter_type = db_escape_string(trim($_REQUEST["filter_type"]));