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
1 changed files with 1 additions and 1 deletions

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;