1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 06:01:28 +00:00

prefs: add button to clear all generated URLs

This commit is contained in:
Andrew Dolgov
2010-11-08 14:51:58 +03:00
parent aa1c2aa4f9
commit 8d86f15f40
3 changed files with 33 additions and 0 deletions

View File

@@ -1120,6 +1120,16 @@
return;
}
if ($subop == "clearKeys") {
db_query($link, "DELETE FROM ttrss_access_keys WHERE
owner_uid = " . $_SESSION["uid"]);
print "<rpc-reply><message>OK</message></rpc-reply>";
return;
}
print "<rpc-reply><error>Unknown method: $subop</error></rpc-reply>";
}
?>