Removed debug data
This commit is contained in:
parent
9bcab890fb
commit
ff9dc1e1b7
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user