diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 16:32:22 -0700 | 
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 16:32:22 -0700 | 
| commit | 7f9441c33da07b215efcb51668434b3957559fd3 (patch) | |
| tree | ef9fea158aaef1ea6f3453036166c3affdad8463 /modules/gallery/helpers | |
| parent | 098b57bf18112d0a3173dbe28b5ed76782431ff7 (diff) | |
Changes to Identity interface to allow for multiple Identity providers.  What I've tested to this point, is you can install a new provider, switch to it, login as administrator, uninstall the default user module, reinstall the user module, switch back to the user module and login.
Diffstat (limited to 'modules/gallery/helpers')
| -rw-r--r-- | modules/gallery/helpers/gallery_event.php | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php index 84b84f7d..95be4813 100644 --- a/modules/gallery/helpers/gallery_event.php +++ b/modules/gallery/helpers/gallery_event.php @@ -191,7 +191,7 @@ class gallery_event_Core {                          ->id("sidebar")                          ->label(t("Manage Sidebar"))                          ->url(url::site("admin/sidebar")))); -    if (count(Identity::active()) > 1) { +    if (count(Identity::providers()) > 1) {        $menu          ->append(Menu::factory("submenu")                   ->id("identity_menu") | 
