1
0

Removed debug data

This commit is contained in:
Richard Dern 2024-04-24 14:37:37 +02:00
parent 9bcab890fb
commit ff9dc1e1b7

View File

@ -9,7 +9,6 @@
use App\Services\BundleRenderers\Facades\BundleRenderer; use App\Services\BundleRenderers\Facades\BundleRenderer;
use Exception; use Exception;
use Illuminate\Filesystem\FilesystemAdapter; use Illuminate\Filesystem\FilesystemAdapter;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Str; use Illuminate\Support\Str;
use League\Flysystem\StorageAttributes; use League\Flysystem\StorageAttributes;
@ -180,7 +179,6 @@ public function renderCard()
*/ */
public static function findBundles(FilesystemAdapter $disk, ?string $path = '/', bool $recursive = false): array public static function findBundles(FilesystemAdapter $disk, ?string $path = '/', bool $recursive = false): array
{ {
$start = microtime(true);
$bundles = []; $bundles = [];
if ($recursive) { if ($recursive) {
@ -201,14 +199,6 @@ public static function findBundles(FilesystemAdapter $disk, ?string $path = '/',
} }
} }
$finish = microtime(true);
$diff = $finish - $start;
Log::debug('findBundles', [
'path' => $path,
'duration' => $diff,
]);
return $bundles; return $bundles;
} }