From aea1255f1097565922d233dcfcd98d5ac489dce2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 21 Sep 2019 21:05:14 +0100 Subject: [PATCH] Bugfix: Return correct type in StorageBox::delete() --- modules/feature-search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/feature-search.php b/modules/feature-search.php index fed6df6..0410b65 100644 --- a/modules/feature-search.php +++ b/modules/feature-search.php @@ -646,7 +646,7 @@ class StorageBox { if(isset($this->cache[$key])) unset($this->cache[$key]); // Remove it from disk - $this->query( + return $this->query( "DELETE FROM store WHERE key = :key;", [ "key" => $key ] )->rowCount() > 0;