From 006437f67026800f6ab36cd2c271114b33f59812 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 28 Nov 2022 23:48:21 +0100 Subject: [PATCH] change default behavior of delete function --- src/SeriousJSON/JsonDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SeriousJSON/JsonDatabase.php b/src/SeriousJSON/JsonDatabase.php index 7b0c359..be20fd7 100644 --- a/src/SeriousJSON/JsonDatabase.php +++ b/src/SeriousJSON/JsonDatabase.php @@ -210,7 +210,7 @@ class JsonDatabase implements IJsonUnflattener return false; if (!is_file($objPath)) - return true; + return false; return unlink($objPath); }