Skip to content

Commit

Permalink
♻️ removed slow call
Browse files Browse the repository at this point in the history
Signed-off-by: bnomei <[email protected]>
  • Loading branch information
bnomei committed Jun 16, 2024
1 parent eed4259 commit 895942d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions classes/BoostDirInventory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php return array(
'root' => 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__ . '/../../',
Expand All @@ -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__ . '/../../',
Expand Down

0 comments on commit 895942d

Please sign in to comment.