[pLog-svn] isAdmin not working

Jon Daley plogworld at jon.limedaley.com
Sun Sep 18 21:34:14 GMT 2005


 	Oscar said there is a new field in the database in 1.1 for 
determining site admin.  That's all I know about that...

On Sun, 18 Sep 2005, Reto Hugi wrote:

> Hi,
>
> Did a fresh install from trunk and now I don't get recognized as a site
> admin although permissions in the database are set to 1.
>
> I'm still wondering where this actually "get"'s the information of the
> user from, because if I do a var_dump, I get the array with the userinfo
> all correct ,but isAdmin set to false.
>
> This function is part of ploguserdataprovider.class.php:
>
> function getUserInfoFromUsername( $username )
> {
>  return ( $this->get( "user", $username, CACHE_USERIDBYNAME,
>                   Array( CACHE_USERINFO => "getId" )) );
> }
>
> Can somebody please explain where this function get's the userinfo from?
> This is all magic to me...
>
> thanks & nice week :)
> reto
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>

**************************************
Jon Daley
http://jon.limedaley.com/plog/

I am the President of the United States, and I will not eat any more broccoli!
-- George Bush Sr.



More information about the pLog-svn mailing list