mirror of
https://github.com/openclassify/openclassify.git
synced 2026-03-09 17:55:27 -05:00
Merge pull request #912 from openclassify/alp
#2974 - Remove role base - My dopings shows 403 with standard user
This commit is contained in:
commit
6b022145d1
@ -626,9 +626,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