diff options
author | cash <cash.costello@gmail.com> | 2011-12-17 12:43:35 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-17 12:43:35 -0500 |
commit | a62adbd9cb180fe6bbf88cff2f787d262f737ecb (patch) | |
tree | 9ecc324eba4dcdf57f98cde1bcc66e03c148b027 /actions/admin.php | |
parent | bc56428d493d99576ff274611df3b029e7e47e0a (diff) | |
download | elgg-a62adbd9cb180fe6bbf88cff2f787d262f737ecb.tar.gz elgg-a62adbd9cb180fe6bbf88cff2f787d262f737ecb.tar.bz2 |
removed code from previous plugin
Diffstat (limited to 'actions/admin.php')
-rw-r--r-- | actions/admin.php | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/actions/admin.php b/actions/admin.php deleted file mode 100644 index 568c852a5..000000000 --- a/actions/admin.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php
-
-// let admins configure the OpenID client
-
-require_once(dirname(dirname(__FILE__)).'/models/model.php');
-
-admin_gatekeeper();
-
-$always_sync = get_input('always_sync');
-$sso = get_input('sso','no');
-$default_server = trim(get_input('default_server'));
-$greenlist = trim(get_input('greenlist'));
-$yellowlist = trim(get_input('yellowlist'));
-$redlist = trim(get_input('redlist'));
-
-set_plugin_setting('default_server',$default_server,'openid_client');
-if ($always_sync) {
- set_plugin_setting('always_sync',$always_sync,'openid_client');
-} else {
- set_plugin_setting('always_sync','no','openid_client');
-}
-if ($sso) {
- set_plugin_setting('sso',$sso,'openid_client');
-} else {
- set_plugin_setting('sso','no','openid_client');
-}
-set_plugin_setting('greenlist',$greenlist,'openid_client');
-set_plugin_setting('yellowlist',$yellowlist,'openid_client');
-set_plugin_setting('redlist',$redlist,'openid_client');
-
-system_message(elgg_echo('openid_client:admin_response'));
-
-forward($CONFIG->wwwroot . "pg/openid_client/admin");
-
|