From 0bb2b7659f8cb0c117d01958c7fec95a80e83a02 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 29 Oct 2009 11:12:55 -0700 Subject: Add the admin_user api function to the identity helper and the IdentityProvider interface. --- modules/gallery/libraries/IdentityProvider.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/gallery/libraries/IdentityProvider.php') diff --git a/modules/gallery/libraries/IdentityProvider.php b/modules/gallery/libraries/IdentityProvider.php index 24c849c1..8521702d 100644 --- a/modules/gallery/libraries/IdentityProvider.php +++ b/modules/gallery/libraries/IdentityProvider.php @@ -107,6 +107,13 @@ class IdentityProvider_Core { return $this->driver->guest(); } + /** + * @see IdentityProvider_Driver::admin_user. + */ + public function admin_user() { + return $this->driver->admin_user(); + } + /** * @see IdentityProvider_Driver::create_user. */ -- cgit v1.2.3