Code Duplication    Length = 9-9 lines in 2 locations

lib/custom/setup/CustomerRemoveLostUserDataLaravel.php 2 locations

@@ 52-60 (lines=9) @@
49
	{
50
		$this->msg( 'Remove left over Laravel user address records', 0 );
51
52
		if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_address' ) )
53
		{
54
			$this->execute( $this->sql['address'] );
55
			$this->status( 'done' );
56
		}
57
		else
58
		{
59
			$this->status( 'OK' );
60
		}
61
62
63
		$this->msg( 'Remove left over Laravel user list records', 0 );
@@ 65-73 (lines=9) @@
62
63
		$this->msg( 'Remove left over Laravel user list records', 0 );
64
65
		if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_list' ) )
66
		{
67
			$this->execute( $this->sql['list'] );
68
			$this->status( 'done' );
69
		}
70
		else
71
		{
72
			$this->status( 'OK' );
73
		}
74
	}
75
}
76