Completed
Push — master ( 384616...e3d84b )
by Aimeos
03:42
created
lib/custom/setup/CustomerRemoveLostUserDataLaravel.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	 */
39 39
 	public function getPostDependencies()
40 40
 	{
41
-		return array( 'TablesCreateMShop' );
41
+		return array('TablesCreateMShop');
42 42
 	}
43 43
 
44 44
 
@@ -47,29 +47,29 @@  discard block
 block discarded – undo
47 47
 	 */
48 48
 	public function migrate()
49 49
 	{
50
-		$this->msg( 'Remove left over Laravel user address records', 0 );
50
+		$this->msg('Remove left over Laravel user address records', 0);
51 51
 
52
-		if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_address' ) )
52
+		if ($this->schema->tableExists('users') && $this->schema->tableExists('users_address'))
53 53
 		{
54
-			$this->execute( $this->sql['address'] );
55
-			$this->status( 'done' );
54
+			$this->execute($this->sql['address']);
55
+			$this->status('done');
56 56
 		}
57 57
 		else
58 58
 		{
59
-			$this->status( 'OK' );
59
+			$this->status('OK');
60 60
 		}
61 61
 
62 62
 
63
-		$this->msg( 'Remove left over Laravel user list records', 0 );
63
+		$this->msg('Remove left over Laravel user list records', 0);
64 64
 
65
-		if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_list' ) )
65
+		if ($this->schema->tableExists('users') && $this->schema->tableExists('users_list'))
66 66
 		{
67
-			$this->execute( $this->sql['list'] );
68
-			$this->status( 'done' );
67
+			$this->execute($this->sql['list']);
68
+			$this->status('done');
69 69
 		}
70 70
 		else
71 71
 		{
72
-			$this->status( 'OK' );
72
+			$this->status('OK');
73 73
 		}
74 74
 	}
75 75
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
 		{
54 54
 			$this->execute( $this->sql['address'] );
55 55
 			$this->status( 'done' );
56
-		}
57
-		else
56
+		} else
58 57
 		{
59 58
 			$this->status( 'OK' );
60 59
 		}
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
 		{
67 66
 			$this->execute( $this->sql['list'] );
68 67
 			$this->status( 'done' );
69
-		}
70
-		else
68
+		} else
71 69
 		{
72 70
 			$this->status( 'OK' );
73 71
 		}
Please login to merge, or discard this patch.