mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:05:56 +00:00
api: add getPref
This commit is contained in:
@@ -344,7 +344,11 @@
|
|||||||
|
|
||||||
print json_encode($config);
|
print json_encode($config);
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "getPref":
|
||||||
|
$pref_name = db_escape_string($_REQUEST["pref_name"]);
|
||||||
|
print json_encode(array("value" => get_pref($link, $pref_name)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user