Browse Source

Update config() to config_cache()

Daniel Supernault 4 năm trước cách đây
mục cha
commit
7873b7ecc5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 		}