1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-24 11:56:36 +02:00

api: add getPref

This commit is contained in:
Andrew Dolgov 2009-12-16 15:06:59 +03:00
parent 7c6d05cda4
commit 4d557a13c2

View File

@ -344,7 +344,11 @@
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;
}