[dev] Re: Horde_Share patch

Chuck Hagenbuch chuck at horde.org
Tue Oct 26 11:52:58 PDT 2004


Quoting Ben Chavet <ben at chavet.net>:

> if $owner is boolean, then how are you supposed to supply an owner?

You don't. In fact, I looked closer and reverted the 2nd part of the 
patch too.
The way the function is written, $owner is a boolean saying to *only* return
shares that $userid owns if true. If it's false, it returns all shares that
$userid has access to. $userid is the only username passed in. As the function
parameters say:

      * @param boolean $owner      Only return shares that $userid owns.

I can see what you're trying to get at, and would be open to changing things
around to make that possible, but this isn't how the function is written or
documented.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list