summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-20 13:37:21 +0300
committerAndrew Dolgov <[email protected]>2021-02-20 13:37:21 +0300
commit5c7416458f76f83a46e4c39a8697ebaed08bce3d (patch)
treebdf7161a4e04e122cba1a59981fa7f8e5d9404c5 /classes/rpc.php
parent22fe9b54d2150e543338dbc7541f134c0a7c61f6 (diff)
rpc: disable completeLabels for now
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index a87f07009..643ad29d8 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -1,11 +1,11 @@
<?php
class RPC extends Handler_Protected {
- function csrf_ignore($method) {
+ /*function csrf_ignore($method) {
$csrf_ignored = array("completelabels");
return array_search($method, $csrf_ignored) !== false;
- }
+ }*/
function togglepref() {
$key = clean($_REQUEST["key"]);
@@ -130,7 +130,7 @@ class RPC extends Handler_Protected {
print json_encode($reply);
}
- function completeLabels() {
+ /*function completeLabels() {
$search = clean($_REQUEST["search"]);
$sth = $this->pdo->prepare("SELECT DISTINCT caption FROM
@@ -145,7 +145,7 @@ class RPC extends Handler_Protected {
print "<li>" . $line["caption"] . "</li>";
}
print "</ul>";
- }
+ }*/
function catchupFeed() {
$feed_id = clean($_REQUEST['feed_id']);