diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-01-11 22:57:40 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-01-11 22:57:40 +0100 |
commit | b6086759387f0d14b46fa2f169cc3919506fec41 (patch) | |
tree | 61410cb1809321de943b5158fd3eb6675ace1963 /settings | |
parent | da4a50a7fc10de3db23ae24eb8dcdbc039ad9207 (diff) | |
parent | e11b650d2e28725fe88e6da3975e66d585e59d5e (diff) | |
download | nextcloud-server-b6086759387f0d14b46fa2f169cc3919506fec41.tar.gz nextcloud-server-b6086759387f0d14b46fa2f169cc3919506fec41.zip |
Merge pull request #1157 owncloud/move-OpenID
Move openid.php to apps repo
Conflicts:
settings/routes.php
Diffstat (limited to 'settings')
-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'); |