From 895942dee227b61424e2f4509179cb5c86e9f023 Mon Sep 17 00:00:00 2001 From: bnomei Date: Sun, 16 Jun 2024 17:46:37 +0200 Subject: [PATCH] :recycle: removed slow call Signed-off-by: bnomei --- classes/BoostDirInventory.php | 5 ----- composer.json | 2 +- vendor/composer/installed.php | 8 ++++---- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/classes/BoostDirInventory.php b/classes/BoostDirInventory.php index 8680eea..78e06ce 100644 --- a/classes/BoostDirInventory.php +++ b/classes/BoostDirInventory.php @@ -49,11 +49,6 @@ public function __destruct() public function file(): string { - $cache = BoostCache::singleton(); - if ($cache && method_exists($cache, 'root')) { - return $cache->root().'/boost-dir-inventory.cache.php'; - } - return __DIR__.'/../boost-dir-inventory.cache.php'; } diff --git a/composer.json b/composer.json index ee5297f..f05ad2e 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "bnomei/kirby3-boost", "type": "kirby-plugin", - "version": "5.0.0", + "version": "5.0.1", "description": "Boost the speed of Kirby by having content files of files/pages/users cached, with fast lookup based on uuid.", "license": "MIT", "authors": [ diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 3354dde..e451f1e 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,8 +1,8 @@ array( 'name' => 'bnomei/kirby3-boost', - 'pretty_version' => '5.0.0', - 'version' => '5.0.0.0', + 'pretty_version' => '5.0.1', + 'version' => '5.0.1.0', 'reference' => null, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../', @@ -11,8 +11,8 @@ ), 'versions' => array( 'bnomei/kirby3-boost' => array( - 'pretty_version' => '5.0.0', - 'version' => '5.0.0.0', + 'pretty_version' => '5.0.1', + 'version' => '5.0.1.0', 'reference' => null, 'type' => 'kirby-plugin', 'install_path' => __DIR__ . '/../../',