diff options
-rw-r--r-- | settings/ajax/openid.php | 16 | ||||
-rw-r--r-- | settings/routes.php | 4 |
2 files changed, 0 insertions, 20 deletions
diff --git a/settings/ajax/openid.php b/settings/ajax/openid.php deleted file mode 100644 index 23c43c3c48e..00000000000 --- a/settings/ajax/openid.php +++ /dev/null @@ -1,16 +0,0 @@ -<?php - -$l=OC_L10N::get('settings'); - -OC_JSON::checkLoggedIn(); -OCP\JSON::callCheck(); -OC_JSON::checkAppEnabled('user_openid'); - -// Get data -if( isset( $_POST['identity'] ) ) { - $identity=$_POST['identity']; - OC_Preferences::setValue(OC_User::getUser(), 'user_openid', 'identity', $identity); - OC_JSON::success(array("data" => array( "message" => $l->t("OpenID Changed") ))); -}else{ - OC_JSON::error(array("data" => array( "message" => $l->t("Invalid request") ))); -} diff --git a/settings/routes.php b/settings/routes.php index 595b83c313e..9b5bf809230 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -60,7 +60,3 @@ $this->create('settings_ajax_setloglevel', '/settings/ajax/setloglevel.php') ->actionInclude('settings/ajax/setloglevel.php'); $this->create('settings_ajax_setsecurity', '/settings/ajax/setsecurity.php') ->actionInclude('settings/ajax/setsecurity.php'); - -// apps/user_openid -$this->create('settings_ajax_openid', '/settings/ajax/openid.php') - ->actionInclude('settings/ajax/openid.php'); |