Sfoglia il codice sorgente

Update config() to config_cache()

Daniel Supernault 4 anni fa
parent
commit
7873b7ecc5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
 		$status = $this->status;
 
 
-		if(config('pixelfed.bouncer.enabled')) {
+		if(config_cache('pixelfed.bouncer.enabled')) {
 			Bouncer::get($status);
 			Bouncer::get($status);
 		}
 		}