summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/identity.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-29 11:12:55 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-29 11:12:55 -0700
commit0bb2b7659f8cb0c117d01958c7fec95a80e83a02 (patch)
treeaa9e27345d02f57c631b15ad7a5a0714750c52f8 /modules/gallery/helpers/identity.php
parente45ea9359d6cb603be0bc28376d92883aa8d7c7e (diff)
Add the admin_user api function to the identity helper and the IdentityProvider interface.
Diffstat (limited to 'modules/gallery/helpers/identity.php')
-rw-r--r--modules/gallery/helpers/identity.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gallery/helpers/identity.php b/modules/gallery/helpers/identity.php
index 4ebc6de8..3030bd3d 100644
--- a/modules/gallery/helpers/identity.php
+++ b/modules/gallery/helpers/identity.php
@@ -145,6 +145,13 @@ class identity_Core {
}
/**
+ * @see IdentityProvider_Driver::admin_user.
+ */
+ static function admin_user() {
+ return IdentityProvider::instance()->admin_user();
+ }
+
+ /**
* @see IdentityProvider_Driver::create_user.
*/
static function create_user($name, $full_name, $password) {