Skip to content
This repository was archived by the owner on May 18, 2025. It is now read-only.

Commit 895942d

Browse files
committed
♻️ removed slow call
Signed-off-by: bnomei <[email protected]>
1 parent eed4259 commit 895942d

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

classes/BoostDirInventory.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,6 @@ public function __destruct()
4949

5050
public function file(): string
5151
{
52-
$cache = BoostCache::singleton();
53-
if ($cache && method_exists($cache, 'root')) {
54-
return $cache->root().'/boost-dir-inventory.cache.php';
55-
}
56-
5752
return __DIR__.'/../boost-dir-inventory.cache.php';
5853
}
5954

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bnomei/kirby3-boost",
33
"type": "kirby-plugin",
4-
"version": "5.0.0",
4+
"version": "5.0.1",
55
"description": "Boost the speed of Kirby by having content files of files/pages/users cached, with fast lookup based on uuid.",
66
"license": "MIT",
77
"authors": [

vendor/composer/installed.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php return array(
22
'root' => array(
33
'name' => 'bnomei/kirby3-boost',
4-
'pretty_version' => '5.0.0',
5-
'version' => '5.0.0.0',
4+
'pretty_version' => '5.0.1',
5+
'version' => '5.0.1.0',
66
'reference' => null,
77
'type' => 'kirby-plugin',
88
'install_path' => __DIR__ . '/../../',
@@ -11,8 +11,8 @@
1111
),
1212
'versions' => array(
1313
'bnomei/kirby3-boost' => array(
14-
'pretty_version' => '5.0.0',
15-
'version' => '5.0.0.0',
14+
'pretty_version' => '5.0.1',
15+
'version' => '5.0.1.0',
1616
'reference' => null,
1717
'type' => 'kirby-plugin',
1818
'install_path' => __DIR__ . '/../../',

0 commit comments

Comments
 (0)