Completed
Push — 2019.10 ( f1aef7...cf8417 )
by Aimeos
02:46
created
lib/custom/setup/FEUsersAddSiteIdTypo3.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 class FEUsersAddSiteIdTypo3 extends \Aimeos\MW\Setup\Task\Base
16 16
 {
17 17
 	private $migrate = array(
18
-		'mysql' => array (
18
+		'mysql' => array(
19 19
 			'ALTER TABLE "fe_users" ADD "siteid" INTEGER NULL'
20 20
 		),
21 21
 	);
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 			&& $schema->tableExists( $table ) === true
51 51
 			&& $schema->columnExists( $table, $column ) === false )
52 52
 		{
53
-			foreach ( $this->migrate[$schema->getName()] as $stmt ) {
53
+			foreach( $this->migrate[$schema->getName()] as $stmt ) {
54 54
 				$this->execute( $stmt, 'db-customer' );
55 55
 			}
56 56
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
 			}
56 56
 
57 57
 			$this->status( 'done' );
58
-		}
59
-		else
58
+		} else
60 59
 		{
61 60
 			$this->status( 'OK' );
62 61
 		}
Please login to merge, or discard this patch.