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/ajax | |
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/ajax')
-rw-r--r-- | settings/ajax/openid.php | 16 |
1 files changed, 0 insertions, 16 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") ))); -} |