prefs: remove _PREFS_ACTIVE_TAB handling
This commit is contained in:
parent
a4d7649833
commit
e8f0cb1975
5 changed files with 0 additions and 10 deletions
|
@ -1164,8 +1164,6 @@
|
|||
print "<div dojoType=\"dijit.layout.AccordionContainer\" region=\"center\">";
|
||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Feeds')."\">";
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "feedConfig");
|
||||
|
||||
$result = db_query($link, "SELECT COUNT(id) AS num_errors
|
||||
FROM ttrss_feeds WHERE last_error != '' AND owner_uid = ".$_SESSION["uid"]);
|
||||
|
||||
|
|
|
@ -363,8 +363,6 @@
|
|||
|
||||
if ($quiet) return;
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "filterConfig");
|
||||
|
||||
$sort = db_escape_string($_REQUEST["sort"]);
|
||||
|
||||
if (!$sort || $sort == "undefined") {
|
||||
|
|
|
@ -242,8 +242,6 @@
|
|||
return;
|
||||
}
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "labelConfig");
|
||||
|
||||
$sort = db_escape_string($_REQUEST["sort"]);
|
||||
|
||||
if (!$sort || $sort == "undefined") {
|
||||
|
|
|
@ -158,8 +158,6 @@
|
|||
|
||||
} else {
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "genConfig");
|
||||
|
||||
if ($_SESSION["profile"]) {
|
||||
print_notice("Some preferences are only available in default profile.");
|
||||
}
|
||||
|
|
|
@ -352,8 +352,6 @@
|
|||
|
||||
print "<div id=\"pref-user-toolbar\" dojoType=\"dijit.Toolbar\">";
|
||||
|
||||
set_pref($link, "_PREFS_ACTIVE_TAB", "userConfig");
|
||||
|
||||
$user_search = db_escape_string($_REQUEST["search"]);
|
||||
|
||||
if (array_key_exists("search", $_REQUEST)) {
|
||||
|
|
Loading…
Reference in a new issue