mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 23:06:08 -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');
|
$isActiveDopings = $this->adv_model->is_enabled('dopings');
|
||||||
if ($isActiveDopings) {
|
|
||||||
$isActiveDopings = doping_check_role();
|
|
||||||
}
|
|
||||||
|
|
||||||
return $this->view->make('visiosoft.module.advs::new-ad/preview/preview',
|
return $this->view->make('visiosoft.module.advs::new-ad/preview/preview',
|
||||||
compact('adv', 'categories', 'features', 'isActiveDopings'));
|
compact('adv', 'categories', 'features', 'isActiveDopings'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user