cvs: pear /Perm_LiveUser/Perm/Container DB_Complex.php
| From: | Bj�rn Kraus | Date: | Thu, 05 Jun 2003 16:52:59 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Perm/Container DB_Complex.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-10715@lists.php.net to get a copy of this message | ||
krausbn Thu Jun 5 12:52:59 2003 EDT
Modified files:
/pear/Perm_LiveUser/Perm/Container DB_Complex.php
Log:
Deleted area id param in checkRightLevel().
Index: pear/Perm_LiveUser/Perm/Container/DB_Complex.php
diff -u pear/Perm_LiveUser/Perm/Container/DB_Complex.php:1.27
pear/Perm_LiveUser/Perm/Container/DB_Complex.php:1.28
--- pear/Perm_LiveUser/Perm/Container/DB_Complex.php:1.27 Sun Apr 20 15:46:18 2003
+++ pear/Perm_LiveUser/Perm/Container/DB_Complex.php Thu Jun 5 12:52:58 2003
@@ -47,7 +47,7 @@
*
* @author Lukas Smith <smith@backendmedia.com>
* @author Bjoern Kraus <krausbn@php.net>
- * @version $Id: DB_Complex.php,v 1.27 2003/04/20 19:46:18 arnaud Exp $
+ * @version $Id: DB_Complex.php,v 1.28 2003/06/05 16:52:58 krausbn Exp $
* @package LiveUser
* @category authentication
*/
@@ -580,9 +580,8 @@
/**
* LiveUser_Perm_Container_DB_Complex::checkRightLevel()
*
- * Checks if the current user has a certain right in a
- * given area with the sufficient level to gain access
- * to a specific ressource in that area.
+ * Checks if the current user has a certain right with the sufficient
+ * level to gain access to a specific ressource in that area.
*
* @access public
* @see LiveUser_Perm_Common:checkRight(), checkLevel()
@@ -591,12 +590,11 @@
* which the right is requested.
* @param integer $owner_group_id Id of the group of the ressource for
* which the right is requested.
- * @param integer $area_id Id of the AuthArea to use.
* @return boolean true if the level is sufficient to grant access else false.
*/
- function checkRightLevel($right_id, $owner_user_id, $owner_group_id, $area_id)
+ function checkRightLevel($right_id, $owner_user_id, $owner_group_id)
{
- $level = $this->checkRight($right_id, $area_id);
+ $level = $this->checkRight($right_id);
$hasright = $this->checkLevel($level, $owner_user_id, $owner_group_id);
return $hasright;
@@ -628,4 +626,4 @@
}
}
}
-?>
+?>
\ No newline at end of file