Update config() to config_cache()

This commit is contained in:
Daniel Supernault 2021-05-11 19:07:03 -06:00
parent 1c2baa8f2c
commit c65d03788b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
5 changed files with 6 additions and 6 deletions

View file

@ -12,7 +12,7 @@ class ImportController extends Controller
{
$this->middleware('auth');
if(config('pixelfed.import.instagram.enabled') != true) {
if(config_cache('pixelfed.import.instagram.enabled') != true) {
abort(404, 'Feature not enabled');
}
}