Commit 14998f41 by Alexander Kochetov

\yii\rbac\DbManager::isAssigned() signature fix

parent 212649c8
...@@ -280,7 +280,7 @@ class DbManager extends Manager ...@@ -280,7 +280,7 @@ class DbManager extends Manager
* @param string $itemName the item name * @param string $itemName the item name
* @return boolean whether the item has been assigned to the user. * @return boolean whether the item has been assigned to the user.
*/ */
public function isAssigned($itemName, $userId) public function isAssigned($userId, $itemName)
{ {
$query = new Query; $query = new Query;
return $query->select(array('item_name')) return $query->select(array('item_name'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment