Skip to content

Commit 6147dc7

Browse files
committed
Update User.php
1 parent 815055b commit 6147dc7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Model/User.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,11 @@ public function getGroupNames()
558558
return $names;
559559
}
560560

561+
/**
562+
* @param string $name
563+
*
564+
* @return boolean
565+
*/
561566
public function hasGroup($name)
562567
{
563568
return in_array($name, $this->getGroupNames());

0 commit comments

Comments
 (0)