Passed
Push — master ( 5e64e2...da283d )
by Andreas
12:33
created
lib/midgard/admin/asgard/handler/object/deleted.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 'purge' => true
63 63
             ]
64 64
         ]);
65
-        if (   midcom::get()->config->get('midcom_services_rcs_enable')
65
+        if (midcom::get()->config->get('midcom_services_rcs_enable')
66 66
             && $object->can_do('midgard:update')
67 67
             && $object->_use_rcs) {
68 68
             $this->_request_data['asgard_toolbar']->add_item([
Please login to merge, or discard this patch.
lib/midgard/admin/asgard/handler/object/rcs.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             return parent::load_object($guid);
30 30
         } catch (midcom_error_midgard $e) {
31 31
             $mgd_exception = $e->getPrevious();
32
-            if (   $mgd_exception
32
+            if ($mgd_exception
33 33
                 && $mgd_exception->getCode() == mgd_exception::OBJECT_DELETED) {
34 34
                 return $this->load_deleted($guid);
35 35
             }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,8 @@
 block discarded – undo
27 27
     {
28 28
         try {
29 29
             return parent::load_object($guid);
30
-        } catch (midcom_error_midgard $e) {
30
+        }
31
+        catch (midcom_error_midgard $e) {
31 32
             $mgd_exception = $e->getPrevious();
32 33
             if (   $mgd_exception
33 34
                 && $mgd_exception->getCode() == mgd_exception::OBJECT_DELETED) {
Please login to merge, or discard this patch.