cvs: pear /Perm_LiveUser/Admin/Perm/Container DB_Medium.php MDB2_Medium.php MDB_Medium.php

From: Date: Sun, 24 Oct 2004 11:24:00 +0000
Subject: cvs: pear /Perm_LiveUser/Admin/Perm/Container DB_Medium.php MDB2_Medium.php MDB_Medium.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-25169@lists.php.net to get a copy of this message
dufuz Sun Oct 24 07:24:00 2004 EDT Modified files: /pear/Perm_LiveUser/Admin/Perm/Container DB_Medium.php MDB2_Medium.php MDB_Medium.php Log: - BC break! getUsersFromGroup removed in favor of people using serachUsers/getUsers with the option where_group_id http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php?r1=1.77&r2=1.78&ty=u Index: pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php diff -u pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php:1.77 pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php:1.78 --- pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php:1.77 Sun Oct 24 07:15:59 2004 +++ pear/Perm_LiveUser/Admin/Perm/Container/DB_Medium.php Sun Oct 24 07:23:59 2004 @@ -51,7 +51,7 @@ * @author Markus Wolff <wolff@21st.de> * @author Matt Scifo <mscifo@php.net> * @author Arnaud Limbourg <arnaud@php.net> - * @version $Id: DB_Medium.php,v 1.77 2004/10/24 11:15:59 dufuz Exp $ + * @version $Id: DB_Medium.php,v 1.78 2004/10/24 11:23:59 dufuz Exp $ * @package LiveUser */ class LiveUser_Admin_Perm_Container_DB_Medium extends LiveUser_Admin_Perm_Container_DB_Simple @@ -489,26 +489,6 @@ } /** - * get all perm_user_id from Group - * - * @access public - * @param integer id of group - * @return mixed boolean or DB Error object - */ - function getUsersFromGroup($groupId) - { - $query = 'SELECT perm_user_id FROM - ' . $this->prefix . 'groupusers - WHERE - ' . $this->groupTableCols['required']['group_id']['name'] . ' = ' - . (int)$groupId; - - $result = $this->dbc->getCol($query); - - return $result; - } - - /** * Get list of all groups * * This method accepts the following options... http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Perm/Container/MDB2_Medium.php?r1=1.38&r2=1.39&ty=u Index: pear/Perm_LiveUser/Admin/Perm/Container/MDB2_Medium.php diff -u pear/Perm_LiveUser/Admin/Perm/Container/MDB2_Medium.php:1.38 pear/Perm_LiveUser/Admin/Perm/Container/MDB2_Medium.php:1.39 --- pear/Perm_LiveUser/Admin/Perm/Container/MDB2_Medium.php:1.38 Sun Oct 24 07:16:00 2004 +++ pear/Perm_LiveUser/Admin/Perm/Container/MDB2_Medium.php Sun Oct 24 07:23:59 2004 @@ -51,7 +51,7 @@ * @author Markus Wolff <wolff@21st.de> * @author Matt Scifo <mscifo@php.net> * @author Arnaud Limbourg <arnaud@php.net> - * @version $Id: MDB2_Medium.php,v 1.38 2004/10/24 11:16:00 dufuz Exp $ + * @version $Id: MDB2_Medium.php,v 1.39 2004/10/24 11:23:59 dufuz Exp $ * @package LiveUser */ class LiveUser_Admin_Perm_Container_MDB2_Medium extends LiveUser_Admin_Perm_Container_MDB2_Simple @@ -489,26 +489,6 @@ } /** - * get all perm_user_id from Group - * - * @access public - * @param integer id of group - * @return mixed boolean or MDB2 Error object - */ - function getUsersFromGroup($groupId) - { - $query = 'SELECT perm_user_id FROM - ' . $this->prefix . 'groupusers - WHERE - ' . $this->groupTableCols['required']['group_id']['name'] . ' = ' - . $this->dbc->quote($groupId, $this->groupTableCols['required']['group_id']['type']); - - $result = $this->dbc->queryCol($query); - - return $result; - } - - /** * Get list of all groups * * This method accepts the following options... http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php?r1=1.63&r2=1.64&ty=u Index: pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php diff -u pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php:1.63 pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php:1.64 --- pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php:1.63 Sun Oct 24 07:16:00 2004 +++ pear/Perm_LiveUser/Admin/Perm/Container/MDB_Medium.php Sun Oct 24 07:23:59 2004 @@ -51,7 +51,7 @@ * @author Markus Wolff <wolff@21st.de> * @author Matt Scifo <mscifo@php.net> * @author Arnaud Limbourg <arnaud@php.net> - * @version $Id: MDB_Medium.php,v 1.63 2004/10/24 11:16:00 dufuz Exp $ + * @version $Id: MDB_Medium.php,v 1.64 2004/10/24 11:23:59 dufuz Exp $ * @package LiveUser */ class LiveUser_Admin_Perm_Container_MDB_Medium extends LiveUser_Admin_Perm_Container_MDB_Simple @@ -489,28 +489,6 @@ } /** - * get all perm_user_id from Group - * - * @access public - * @param integer id of group - * @return mixed boolean or MDB Error object - */ - function getUsersFromGroup($groupId) - { - $query = 'SELECT - perm_user_id - FROM - ' . $this->prefix . 'groupusers - WHERE - ' . $this->groupTableCols['required']['group_id']['name'] . ' = ' - . $this->dbc->getValue($this->groupTableCols['required']['group_id']['type'], $groupId); - - $result = $this->dbc->queryCol($query); - - return $result; - } - - /** * Get list of all groups * * This method accepts the following options...

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