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:
@@ -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>";
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user