cvs: pear /LiveUser_Admin/Perm Complex.php

From: Date: Thu, 16 Dec 2004 08:50:28 +0000
Subject: cvs: pear /LiveUser_Admin/Perm Complex.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-27477@lists.php.net to get a copy of this message
dufuz Thu Dec 16 03:50:28 2004 EDT Modified files: /pear/LiveUser_Admin/Perm Complex.php Log: hopefully this fixes grantGroupRIght and grantUserRIght (untested) http://cvs.php.net/diff.php/pear/LiveUser_Admin/Perm/Complex.php?r1=1.15&r2=1.16&ty=u Index: pear/LiveUser_Admin/Perm/Complex.php diff -u pear/LiveUser_Admin/Perm/Complex.php:1.15 pear/LiveUser_Admin/Perm/Complex.php:1.16 --- pear/LiveUser_Admin/Perm/Complex.php:1.15 Wed Dec 15 08:16:50 2004 +++ pear/LiveUser_Admin/Perm/Complex.php Thu Dec 16 03:50:28 2004 @@ -36,7 +36,7 @@ * @author Christian Dickmann <dickmann@php.net> * @author Markus Wolff <wolff@21st.de> * @author Matt Scifo <mscifo@php.net> - * @version $Id: Complex.php,v 1.15 2004/12/15 13:16:50 lsmith Exp $ + * @version $Id: Complex.php,v 1.16 2004/12/16 08:50:28 dufuz Exp $ * @package LiveUser */ class LiveUser_Admin_Perm_Complex extends LiveUser_Admin_Perm_Medium @@ -185,8 +185,10 @@ function grantUserRight($data) { - parent::grantUserRight($data); - // FIXME + $result = parent::grantUserRight($data); + if (!$return) { + return $return; + } $this->_updateLevelStatus($data['right_id']); // Job done ... @@ -195,8 +197,10 @@ function grantGroupRight($data) { - parent::grantGroupRight($data); - // FIXME + $return = parent::grantGroupRight($data); + if (!$return) { + return $return; + } $this->_updateLevelStatus($data['right_id']); // Job done ...

« previous php.pear.cvs (#27477) next »