Conditions | 5 |
Paths | 4 |
Total Lines | 27 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
48 | public function migrate() |
||
49 | { |
||
50 | $this->msg( 'Remove left over FOS user address records', 0 ); |
||
51 | |||
52 | if( $this->schema->tableExists( 'fos_user' ) && $this->schema->tableExists( 'fos_user_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 FOS user list records', 0 ); |
||
64 | |||
65 | if( $this->schema->tableExists( 'fos_user' ) && $this->schema->tableExists( 'fos_user_list' ) ) |
||
66 | { |
||
67 | $this->execute( $this->sql['list'] ); |
||
68 | $this->status( 'done' ); |
||
69 | } |
||
70 | else |
||
71 | { |
||
72 | $this->status( 'OK' ); |
||
73 | } |
||
74 | } |
||
75 | } |
||
76 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.