Completed
Push — master ( c4faf8...f2feb8 )
by Mehmet
02:09
created
apps/elastico/controllers/es/doc.delete.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,7 @@
 block discarded – undo
13 13
     $params['id'] = $id;
14 14
     try{
15 15
         $result = $ES->delete($params);
16
-    }
17
-    catch (Exception $e){
16
+    } catch (Exception $e){
18 17
         /*
19 18
         If you try to delete a document with an _id that does not exist, $ES->delete throws an Exception.
20 19
         B/c of default behaviour of reformo/rslim, it bypasses all Exceptions and it returns Exception message.
Please login to merge, or discard this patch.