Merge pull request #912 from openclassify/alp

#2974 - Remove role base -  My dopings shows 403 with standard user
This commit is contained in:
spektra2147 2021-01-15 15:35:59 +03:00 committed by GitHub
commit 6b022145d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'));