Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
🚑 autoid will no loner overwrite kirbys global DB connection. thanks @…
Browse files Browse the repository at this point in the history
…thathoff

Signed-off-by: Bruno Meilick <b@bnomei.com>
  • Loading branch information
bnomei committed Mar 16, 2020
1 parent c138337 commit af2658f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
2 changes: 1 addition & 1 deletion classes/AutoIDDatabase.php
Expand Up @@ -35,7 +35,7 @@ public function __construct(array $options = [])
F::copy($this->options['template'], $target);
}

$this->database = Db::connect([
$this->database = new Database([
'type' => 'sqlite',
'database' => $target,
]);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
@@ -1,7 +1,7 @@
{
"name": "bnomei/kirby3-autoid",
"type": "kirby-plugin",
"version": "2.3.1",
"version": "2.4.0",
"description": "Automatic unique ID for Pages, Files and nested Structures including performant helpers to retrieve them. Bonus: Tiny-URL.",
"license": "MIT",
"authors": [
Expand Down
30 changes: 1 addition & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af2658f

Please sign in to comment.