mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-28 10:07:10 +00:00
instances: fix a few wrong calls, move genHash method from rpc
This commit is contained in:
@@ -442,5 +442,12 @@ class Instances extends Plugin implements IHandler {
|
||||
return;
|
||||
}
|
||||
|
||||
function genHash() {
|
||||
$hash = sha1(uniqid(rand(), true));
|
||||
|
||||
print json_encode(array("hash" => $hash));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user