rpc: disable completeLabels for now
This commit is contained in:
parent
22fe9b54d2
commit
5c7416458f
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
class RPC extends Handler_Protected {
|
class RPC extends Handler_Protected {
|
||||||
|
|
||||||
function csrf_ignore($method) {
|
/*function csrf_ignore($method) {
|
||||||
$csrf_ignored = array("completelabels");
|
$csrf_ignored = array("completelabels");
|
||||||
|
|
||||||
return array_search($method, $csrf_ignored) !== false;
|
return array_search($method, $csrf_ignored) !== false;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
function togglepref() {
|
function togglepref() {
|
||||||
$key = clean($_REQUEST["key"]);
|
$key = clean($_REQUEST["key"]);
|
||||||
|
@ -130,7 +130,7 @@ class RPC extends Handler_Protected {
|
||||||
print json_encode($reply);
|
print json_encode($reply);
|
||||||
}
|
}
|
||||||
|
|
||||||
function completeLabels() {
|
/*function completeLabels() {
|
||||||
$search = clean($_REQUEST["search"]);
|
$search = clean($_REQUEST["search"]);
|
||||||
|
|
||||||
$sth = $this->pdo->prepare("SELECT DISTINCT caption FROM
|
$sth = $this->pdo->prepare("SELECT DISTINCT caption FROM
|
||||||
|
@ -145,7 +145,7 @@ class RPC extends Handler_Protected {
|
||||||
print "<li>" . $line["caption"] . "</li>";
|
print "<li>" . $line["caption"] . "</li>";
|
||||||
}
|
}
|
||||||
print "</ul>";
|
print "</ul>";
|
||||||
}
|
}*/
|
||||||
|
|
||||||
function catchupFeed() {
|
function catchupFeed() {
|
||||||
$feed_id = clean($_REQUEST['feed_id']);
|
$feed_id = clean($_REQUEST['feed_id']);
|
||||||
|
|
Loading…
Reference in New Issue