Completed
Push — master ( a44c06...773cc7 )
by Andreas
04:31
created
src/command/schema.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
         $mgd_config = midgard_connection::get_instance()->config;
62 62
         $mgdobjects_file = $mgd_config->vardir . '/midgard_objects.php';
63
-        if (   file_exists($mgdobjects_file)
63
+        if (file_exists($mgdobjects_file)
64 64
             && !unlink($mgdobjects_file))
65 65
         {
66 66
             throw new \RuntimeException('Could not unlink ' . $mgdobjects_file);
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         $cms = $em->getMetadataFactory()->getAllMetadata();
81 81
 
82 82
         // create storage
83
-        if (    !midgard_storage::create_base_storage()
83
+        if (!midgard_storage::create_base_storage()
84 84
              && midgard_connection::get_instance()->get_error_string() != 'MGD_ERR_OK')
85 85
         {
86 86
             throw new \Exception("Failed to create base database structures" . midgard_connection::get_instance()->get_error_string());
Please login to merge, or discard this patch.