From f30ef1fa1bd76b497b5c0a64a92e2e0ef7116515 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 12 Dec 2011 22:46:25 +0400 Subject: subop -> method --- modules/pref-filters.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'modules/pref-filters.php') diff --git a/modules/pref-filters.php b/modules/pref-filters.php index cc30dd285..a218511e4 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -81,10 +81,10 @@ } function module_pref_filters($link) { - $subop = $_REQUEST["subop"]; + $method = $_REQUEST["method"]; $quiet = $_REQUEST["quiet"]; - if ($subop == "getfiltertree") { + if ($method == "getfiltertree") { $root = array(); $root['id'] = 'root'; $root['name'] = __('Filters'); @@ -183,7 +183,7 @@ return; } - if ($subop == "edit") { + if ($method == "edit") { $filter_id = db_escape_string($_REQUEST["id"]); @@ -204,7 +204,7 @@ print ""; print ""; - print ""; + print ""; $result = db_query($link, "SELECT id,description FROM ttrss_filter_types ORDER BY description"); @@ -345,7 +345,7 @@ } - if ($subop == "editSave") { + if ($method == "editSave") { global $memcache; @@ -410,7 +410,7 @@ return; } - if ($subop == "remove") { + if ($method == "remove") { if ($memcache) $memcache->flush(); @@ -422,7 +422,7 @@ return; } - if ($subop == "add") { + if ($method == "add") { if ($memcache) $memcache->flush(); @@ -550,7 +550,7 @@ __("Loading, please wait...").""; print "
+ url=\"backend.php?op=pref-filters&method=getfiltertree\">