From a4adb984b36d1fc5d4039a623a4a8d2b3846954d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Sat, 27 Feb 2021 17:48:29 +0000 Subject: [PATCH] Bug 27819: Fix Object POD Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart (cherry picked from commit 680a3323fa2588b07fc034c4a9c534b1c6095065) Signed-off-by: Fridolin Somers --- Koha/Object.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Koha/Object.pm b/Koha/Object.pm index 57b1429b89..806d42d1aa 100644 --- a/Koha/Object.pm +++ b/Koha/Object.pm @@ -222,9 +222,8 @@ sub update { Removes the object from storage. Returns: - 1 if the deletion was a success - 0 if the deletion failed - -1 if the object was never in storage + The item object if deletion was a success + The DBIX::Class error if deletion failed =cut -- 2.39.5