Skip to content

Commit ef7ca32

Browse files
committed
Merge pull request #1432 from Szymciosek/patch-2
Update User.php
2 parents 5a1a917 + 6147dc7 commit ef7ca32

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)