aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-01-11 22:57:40 +0100
committerBart Visscher <bartv@thisnet.nl>2013-01-11 22:57:40 +0100
commitb6086759387f0d14b46fa2f169cc3919506fec41 (patch)
tree61410cb1809321de943b5158fd3eb6675ace1963 /settings
parentda4a50a7fc10de3db23ae24eb8dcdbc039ad9207 (diff)
parente11b650d2e28725fe88e6da3975e66d585e59d5e (diff)
downloadnextcloud-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.php16
-rw-r--r--settings/routes.php4
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');