1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-29 11:41:29 +00:00

remove unused data from schema files

This commit is contained in:
Andrew Dolgov
2021-02-25 12:58:00 +03:00
parent 2621fe7955
commit 00d0cb8c81
3 changed files with 2 additions and 147 deletions

View File

@@ -20,7 +20,7 @@ class RPC extends Handler_Protected {
$key = clean($_REQUEST['key']);
$value = $_REQUEST['value'];
set_pref($key, $value, false, $key != 'USER_STYLESHEET');
set_pref($key, $value, $_SESSION["uid"], $key != 'USER_STYLESHEET');
print json_encode(array("param" =>$key, "value" => $value));
}
@@ -393,7 +393,7 @@ class RPC extends Handler_Protected {
$params["is_default_pw"] = Pref_Prefs::isdefaultpassword();
$params["label_base_index"] = LABEL_BASE_INDEX;
$theme = get_pref("USER_CSS_THEME", false);
$theme = get_pref("USER_CSS_THEME");
$params["theme"] = theme_exists($theme) ? $theme : "";
$params["plugins"] = implode(", ", PluginHost::getInstance()->get_plugin_names());