aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--start.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/start.php b/start.php
index d59bb2dd1..970a42ed3 100644
--- a/start.php
+++ b/start.php
@@ -31,9 +31,6 @@ function openid_client_init() {
// ...
));
- // don't let OpenID users set their passwords
- elgg_register_event_handler('pagesetup', 'system', 'openid_client_remove_password');
-
// the return to page needs to be public
elgg_register_plugin_hook_handler('public_pages', 'walled_garden', 'openid_client_public');
elgg_register_event_handler('upgrade', 'system', 'openid_client_run_upgrades');
@@ -63,16 +60,6 @@ function openid_client_set_subtype($user) {
}
/**
- * Remove the password view from the account settings form
- */
-function openid_client_remove_password() {
- $page_owner = elgg_get_page_owner_entity();
- if ($page_owner && elgg_instanceof($page_owner, 'user', 'openid')) {
- elgg_unextend_view('forms/account/settings', 'core/settings/account/password');
- }
-}
-
-/**
* Add pages to the list of public pages for walled garden needed for OpenID
* transaction
*