Completed
Push — master ( 23bea2...09abe8 )
by Federico
03:10
created
examples/05database/bundles/models/Template.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,14 +19,14 @@
 block discarded – undo
19 19
 		public function makeConnection() {
20 20
 			global $jConfig;
21 21
 			$connection = null;
22
-			if($jConfig->connection["enable"])
22
+			if ($jConfig->connection["enable"])
23 23
 				$connection = new Connection(
24 24
 						$jConfig->connection["server"]
25 25
 					, $jConfig->connection["database"]
26 26
 					, $jConfig->connection["user"]
27 27
 					, $jConfig->connection["password"]
28 28
 				);
29
-			$this->addConnection("base",$connection);
29
+			$this->addConnection("base", $connection);
30 30
 		}
31 31
 	}
32 32
 ?>
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,13 +19,14 @@
 block discarded – undo
19 19
 		public function makeConnection() {
20 20
 			global $jConfig;
21 21
 			$connection = null;
22
-			if($jConfig->connection["enable"])
23
-				$connection = new Connection(
22
+			if($jConfig->connection["enable"]) {
23
+							$connection = new Connection(
24 24
 						$jConfig->connection["server"]
25 25
 					, $jConfig->connection["database"]
26 26
 					, $jConfig->connection["user"]
27 27
 					, $jConfig->connection["password"]
28 28
 				);
29
+			}
29 30
 			$this->addConnection("base",$connection);
30 31
 		}
31 32
 	}
Please login to merge, or discard this patch.