@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | public function getBuilder($id_cms_statistics) |
71 | 71 | { |
72 | - CRUDBooster::allowOnlySuperAdmin(); |
|
72 | + CRUDBooster::allowOnlySuperAdmin(); |
|
73 | 73 | $this->cbLoader(); |
74 | 74 | |
75 | 75 | $page_title = 'Statistic Builder'; |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | |
150 | 150 | public function getEditComponent($componentID) |
151 | 151 | { |
152 | - CRUDBooster::allowOnlySuperAdmin(); |
|
152 | + CRUDBooster::allowOnlySuperAdmin(); |
|
153 | 153 | $this->cbLoader(); |
154 | 154 | |
155 | 155 | $component_row = CRUDBooster::first('cms_statistic_components', ['componentID' => $componentID]); |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | |
174 | 174 | public function getDeleteComponent($id) |
175 | 175 | { |
176 | - CRUDBooster::allowOnlySuperAdmin(); |
|
176 | + CRUDBooster::allowOnlySuperAdmin(); |
|
177 | 177 | |
178 | 178 | DB::table('cms_statistic_components')->where('componentID', $id)->delete(); |
179 | 179 |