summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 12:46:13 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 12:46:13 +0300
commitbd2314170dc183c154c2af05686ddb0224b5d133 (patch)
tree762e6563377f4baeadd7a4f995cec57dbeacac90 /classes/rpc.php
parente858e979e9e6daf1888b007d509cc4afe5443811 (diff)
implement prefs UI based on new prefs class and a few more things
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 8945823c6..fe6075f75 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -91,7 +91,6 @@ class RPC extends Handler_Protected {
else
$label_ids = array_map("intval", clean($_REQUEST["label_ids"] ?? []));
- // @phpstan-ignore-next-line
$counters = is_array($feed_ids) ? Counters::get_conditional($feed_ids, $label_ids) : Counters::get_all();
$reply = [
@@ -394,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, false);
+ $theme = get_pref("USER_CSS_THEME", false);
$params["theme"] = theme_exists($theme) ? $theme : "";
$params["plugins"] = implode(", ", PluginHost::getInstance()->get_plugin_names());