Add the admin_user api function to the identity helper and the IdentityProvider interface.

This commit is contained in:
Tim Almdal
2009-10-29 11:12:55 -07:00
parent e45ea9359d
commit 0bb2b7659f
4 changed files with 28 additions and 0 deletions

View File

@@ -28,6 +28,13 @@ class IdentityProvider_Gallery_Driver implements IdentityProvider_Driver {
return user::guest();
}
/**
* @see IdentityProvider_Driver::guest.
*/
public function admin_user() {
return self::lookup_user(2);
}
/**
* @see IdentityProvider_Driver::create_user.
*/