@@ 109-111 (lines=3) @@ | ||
106 | */ |
|
107 | public function createRole($name) |
|
108 | { |
|
109 | if (!$this->db->exists('acl_role', ['name' => $name])) { |
|
110 | $this->db->insert('acl_role', ['name' => $name]); |
|
111 | } |
|
112 | } |
|
113 | ||
114 | /** |
|
@@ 125-127 (lines=3) @@ | ||
122 | */ |
|
123 | public function createPermission($name) |
|
124 | { |
|
125 | if (!$this->db->exists('acl_role', ['name' => $name])) { |
|
126 | $this->db->insert('acl_role', ['name' => $name]); |
|
127 | } |
|
128 | } |
|
129 | ||
130 | /** |