1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-26 02:55:02 +00:00

Bugfix: Return correct type in StorageBox::delete()

This commit is contained in:
Starbeamrainbowlabs 2019-09-21 21:05:14 +01:00
parent bbe99adc10
commit aea1255f10
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -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;