wiki update
This commit is contained in:
@@ -134,7 +134,7 @@ class WikiHelper {
|
|||||||
*/
|
*/
|
||||||
public function AddNewUserGroup($groupName, $description) {
|
public function AddNewUserGroup($groupName, $description) {
|
||||||
//Check if the user group already exists
|
//Check if the user group already exists
|
||||||
DokuGroupNames::where(['gname' => $groupName])->count();
|
$count = DokuGroupNames::where(['gname' => $groupName])->count();
|
||||||
|
|
||||||
if($count == 0) {
|
if($count == 0) {
|
||||||
DokuGroupNames::insert([
|
DokuGroupNames::insert([
|
||||||
|
|||||||
Reference in New Issue
Block a user