cvs: pear /LiveUser_Admin/Perm Complex.php
| From: | Lukas Smith | Date: | Mon, 21 Nov 2005 09:38:53 +0000 |
| Subject: | cvs: pear /LiveUser_Admin/Perm Complex.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36427@lists.php.net to get a copy of this message | ||
lsmith Mon Nov 21 04:38:53 2005 EDT
Modified files:
/pear/LiveUser_Admin/Perm Complex.php
Log:
- leave owner_user_id management to the developer
http://cvs.php.net/diff.php/pear/LiveUser_Admin/Perm/Complex.php?r1=1.75&r2=1.76&ty=u
Index: pear/LiveUser_Admin/Perm/Complex.php
diff -u pear/LiveUser_Admin/Perm/Complex.php:1.75 pear/LiveUser_Admin/Perm/Complex.php:1.76
--- pear/LiveUser_Admin/Perm/Complex.php:1.75 Thu Nov 17 07:10:24 2005
+++ pear/LiveUser_Admin/Perm/Complex.php Mon Nov 21 04:38:52 2005
@@ -57,7 +57,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: Complex.php,v 1.75 2005/11/17 12:10:24 lsmith Exp $
+ * @version CVS: $Id: Complex.php,v 1.76 2005/11/21 09:38:52 lsmith Exp $
* @link http://pear.php.net/LiveUser_Admin
*/
@@ -400,30 +400,6 @@
}
/**
- * Remove users and all their relevant relations
- *
- * @param array key values pairs (value may be a string or an array)
- * This will construct the WHERE clause of your update
- * Be careful, if you leave this blank no WHERE clause
- * will be used and all users will be affected by the removed
- * @return integer|boolean false on error, the affected rows on success
- *
- * @access public
- */
- function removeUser($filters)
- {
- $data = array('owner_user_id' => null);
- $filter = array('owner_user_id' => $filters['perm_user_id']);
- $result = $this->updateGroup($data, $filter);
- if ($result === false) {
- return false;
- }
-
- // notify observer
- return parent::removeUser($filters);
- }
-
- /**
* Get SubGroups
*
* @param array containing key-value pairs for: