From: Mikael Nordfeldth Date: Thu, 27 Nov 2014 13:29:50 +0000 (+0100) Subject: If a Notice insert fails, don't continue processing it X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=411ce0629c89446e1c3c1a3cbb1cb133db20f0f2;p=quix0rs-gnu-social.git If a Notice insert fails, don't continue processing it --- diff --git a/classes/Notice.php b/classes/Notice.php index 96637b8f32..9328a76bb8 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -686,6 +686,7 @@ class Notice extends Managed_DataObject if (!empty($notice->id)) { $notice->delete(); } + throw $e; } }