소스 검색

Update config() to config_cache()

Daniel Supernault 4 년 전
부모
커밋
7873b7ecc5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Jobs/StatusPipeline/StatusEntityLexer.php

+ 1 - 1
app/Jobs/StatusPipeline/StatusEntityLexer.php

@@ -151,7 +151,7 @@ class StatusEntityLexer implements ShouldQueue
 	{
 		$status = $this->status;
 
-		if(config('pixelfed.bouncer.enabled')) {
+		if(config_cache('pixelfed.bouncer.enabled')) {
 			Bouncer::get($status);
 		}