Skip to content

Commit be1057b

Browse files
Update Menu.php
1 parent af1ccac commit be1057b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/models/Menu.php

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
use ZakharovAndrew\user\models\User;
77

88
/**
9-
* Menu
9+
* Menu for navbar
10+
* *************
11+
*
12+
* @link https://github.com/ZakharovAndrew/yii2-user/
13+
* @copyright Copyright (c) 2023-2024 Zakharov Andrew
1014
*/
1115
class Menu extends \yii\base\Model
1216
{
@@ -26,7 +30,6 @@ public static function getNavBar()
2630
foreach ($controllersAccessList as $controller_id => $params) {
2731
if (isset($list[$controller_id])) {
2832
$items = array_merge($items, static::getMenuItem($controller_id, $params, $list));
29-
//$menu_items[] = static::getMenuItem($controller_id, $params, $list);
3033
}
3134
}
3235

@@ -53,4 +56,4 @@ public static function getMenuItem($controller_id, $items, $list)
5356

5457
return $menu_items;
5558
}
56-
}
59+
}

0 commit comments

Comments
 (0)