Re: Liveuser- updating perm_user table

From: Date: Wed, 31 Aug 2005 13:28:27 +0000
Subject: Re: Liveuser- updating perm_user table
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20694@lists.php.net to get a copy of this message
Lukas Smith wrote:
Jeroen Houben wrote:
Maybe another addition could be to enforce $filters to be present. Even though the method signature shows this parameter is mandatory, you can still ignore it or pass in NULL. This wil result in updating all your users IIRC. Unless you want to keep this option, I suggest doing a proper check on $filters and raising an execption / warning if it is set to null or array().
Well this is actually somewhat intentional. You can specify any sort of wacky filters to update multiple or all users at the same time.
Okay, fair enough, but at least the API documentation should reflect this IMHO. Jeroen

« previous php.pear.general (#20694) next »