浏览代码

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);
 		}