[pLog-svn] isAdmin not working
Jon Daley
plogworld at jon.limedaley.com
Mon Sep 19 04:43:25 GMT 2005
I don't think this stuff is working at all. Try grepping for
site_admin, and you will see it isn't used anywhere, except for one place
outside of the phpbb stuff. (unless I broke it in the upgrade)
On Sun, 18 Sep 2005, Jon Daley wrote:
> 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.
> _______________________________________________
> 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/
There's so much comedy on television.
Does that cause comedy in the streets?
-- Dick Cavett
More information about the pLog-svn
mailing list