[horde] Share.php
Andy
andy at stronzo.d2g.com
Thu Jun 5 08:44:59 PDT 2003
> Have you looked at that line number?
Yes. This is it:
* @param boolean $owner (optional) Only return shares that $userid owns.
*
* @return array The shares the user has access to
*/
function listShares($userid, $perm = null, $owner = false)
{
LINE 279: <<<<<<< Share.php
$shares = array();
$sharelist = $this->_shares->get(CATEGORY_FORMAT_FLAT, '-1', true);
array_shift($sharelist);
foreach ($sharelist as $share) {
$shareOb = &$this->getShare($share);
if ($owner || $shareOb->getType() == 0) {
if ($shareOb->getOwner() == $userid) {
$shares[$share] = $shareOb;
}
} elseif (!is_null($perm)) {
if ($this->getPermissions($share, $userid) & $perm) {
$shares[$share] = $shareOb;
..........
Didn't change anything.
Andy
Quoting Chuck Hagenbuch <chuck at horde.org>:
> Quoting Andy <andy at stronzo.d2g.com>:
>
> > Parse error: parse error, unexpected T_SL in
> > /usr/local/apache/htdocs/horde/lib/Share.php on line 279
>
> Have you looked at that line number? Nothing is wrong with the file as it is
> in CVS. You probably have a conflict in it, or made a local change that
> doesn't parse.
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> The alligators were there, too, in a bathtub inside the house.
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the horde
mailing list