mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
#2974 - Remove role base - My dopings shows 403 with standard user
This commit is contained in:
parent
66d8c34c68
commit
0a89b29845
@ -625,9 +625,6 @@ class AdvsController extends PublicController
|
||||
}
|
||||
|
||||
$isActiveDopings = $this->adv_model->is_enabled('dopings');
|
||||
if ($isActiveDopings) {
|
||||
$isActiveDopings = doping_check_role();
|
||||
}
|
||||
|
||||
return $this->view->make('visiosoft.module.advs::new-ad/preview/preview',
|
||||
compact('adv', 'categories', 'features', 'isActiveDopings'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user