summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/admin_identity.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-24 11:32:09 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-24 11:32:09 -0700
commit24bd8e4c289e999c401e77da761ccbd938707407 (patch)
tree062e6b40bbeaa6eecf1770053777c4a9638f4e10 /modules/gallery/controllers/admin_identity.php
parentabb080f2323f93aeb6c5a7d90e3fe4236e4c5b7f (diff)
Remove a redundant comment, change the name of the identity change event to 'identity_before_change' and change the name of 'login::get_login_form()' to 'login::get_form()'
Diffstat (limited to 'modules/gallery/controllers/admin_identity.php')
-rw-r--r--modules/gallery/controllers/admin_identity.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/controllers/admin_identity.php b/modules/gallery/controllers/admin_identity.php
index dcc3edcb..520b1966 100644
--- a/modules/gallery/controllers/admin_identity.php
+++ b/modules/gallery/controllers/admin_identity.php
@@ -45,7 +45,7 @@ class Admin_Identity_Controller extends Admin_Controller {
if ($new_provider != $active_provider) {
- module::event("pre_identity_change", $active_provider, $new_provider);
+ module::event("identity_before_change", $active_provider, $new_provider);
module::deactivate($active_provider);
module::uninstall($active_provider);
@@ -57,7 +57,6 @@ class Admin_Identity_Controller extends Admin_Controller {
module::install($new_provider);
module::activate($new_provider);
- // @todo this type of collation is questionable from an i18n perspective
message::success(t("Changed to %description",
array("description" => $providers->$new_provider)));