mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-25 17:23:00 +00:00
Bugfix: Return correct type in StorageBox::delete()
This commit is contained in:
parent
bbe99adc10
commit
aea1255f10
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ class StorageBox {
|
||||||
if(isset($this->cache[$key]))
|
if(isset($this->cache[$key]))
|
||||||
unset($this->cache[$key]);
|
unset($this->cache[$key]);
|
||||||
// Remove it from disk
|
// Remove it from disk
|
||||||
$this->query(
|
return $this->query(
|
||||||
"DELETE FROM store WHERE key = :key;",
|
"DELETE FROM store WHERE key = :key;",
|
||||||
[ "key" => $key ]
|
[ "key" => $key ]
|
||||||
)->rowCount() > 0;
|
)->rowCount() > 0;
|
||||||
|
|
Loading…
Reference in a new issue