summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-01-11 17:22:15 +0100
committerLukas Reschke <lukas@statuscode.ch>2013-01-11 17:22:15 +0100
commit1631ee4d607f90d573264c1801e5f6955bdcb974 (patch)
tree591d4854a1d68c7b60637b063ee1cec312374d3b
parent1eb3c8ecf6a86a879af5773f5ca01be81c9bae49 (diff)
downloadnextcloud-server-1631ee4d607f90d573264c1801e5f6955bdcb974.tar.gz
nextcloud-server-1631ee4d607f90d573264c1801e5f6955bdcb974.zip
Move to apps repo
This belongs to the apps repo.
-rw-r--r--settings/ajax/openid.php16
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") )));
-}