summaryrefslogtreecommitdiffstats
path: root/application/controllers/user.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-02-03 11:18:28 +0100
committerFlorian Pritz <bluewind@xinu.at>2015-02-03 11:18:28 +0100
commitd9c895ce4f53b180fc11c3b5a172c4cf787b1279 (patch)
tree6757ed1622b79519279fcf50eda88118fa6ca5c8 /application/controllers/user.php
parent9ea78213f8e505b5fde7372106adc1947d1f7de2 (diff)
Remove unstable json api
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/user.php')
-rw-r--r--application/controllers/user.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/application/controllers/user.php b/application/controllers/user.php
index 62569e1f1..aba2a8ec1 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -8,11 +8,6 @@
*/
class User extends MY_Controller {
- protected $json_enabled_functions = array(
- "create_apikey",
- "apikeys",
- );
-
function __construct()
{
@@ -93,10 +88,6 @@ class User extends MY_Controller {
$key = \service\user::create_apikey($userid, $comment, $access_level);
- if (static_storage("response_type") == "json") {
- return send_json_reply(array("new_key" => $key));
- }
-
if (is_cli_client()) {
echo "$key\n";
} else {