@@ -65,8 +65,7 @@ |
||
65 | 65 | { |
66 | 66 | $this->executeList( $stmts ); |
67 | 67 | $this->status( 'added' ); |
68 | - } |
|
69 | - else |
|
68 | + } else |
|
70 | 69 | { |
71 | 70 | $this->status( 'OK' ); |
72 | 71 | } |
@@ -72,8 +72,7 @@ |
||
72 | 72 | { |
73 | 73 | $this->executeList( $stmts ); |
74 | 74 | $this->status( 'migrated' ); |
75 | - } |
|
76 | - else |
|
75 | + } else |
|
77 | 76 | { |
78 | 77 | $this->status( 'OK' ); |
79 | 78 | } |
@@ -76,8 +76,7 @@ |
||
76 | 76 | { |
77 | 77 | $this->executeList( $stmtList ); |
78 | 78 | $this->status( 'renamed' ); |
79 | - } |
|
80 | - else |
|
79 | + } else |
|
81 | 80 | { |
82 | 81 | $this->status( 'OK' ); |
83 | 82 | } |
@@ -52,8 +52,7 @@ |
||
52 | 52 | { |
53 | 53 | $this->execute( $this->stmt, 'db-product' ); |
54 | 54 | $this->status( 'done' ); |
55 | - } |
|
56 | - else |
|
55 | + } else |
|
57 | 56 | { |
58 | 57 | $this->status( 'OK' ); |
59 | 58 | } |
@@ -6,8 +6,8 @@ discard block |
||
6 | 6 | * @copyright Aimeos (aimeos.org), 2015-2016 |
7 | 7 | */ |
8 | 8 | |
9 | -return array ( |
|
10 | - 'text/type' => array ( |
|
9 | +return array( |
|
10 | + 'text/type' => array( |
|
11 | 11 | 'attribute/name' => array( 'domain' => 'attribute', 'code' => 'name', 'label' => 'Name', 'status' => 1 ), |
12 | 12 | 'attribute/short' => array( 'domain' => 'attribute', 'code' => 'short', 'label' => 'Short description', 'status' => 1 ), |
13 | 13 | 'attribute/long' => array( 'domain' => 'attribute', 'code' => 'long', 'label' => 'Long description', 'status' => 1 ), |
@@ -41,13 +41,13 @@ discard block |
||
41 | 41 | 'supplier/description' => array( 'domain' => 'supplier', 'code' => 'description', 'label' => 'Supplier description', 'status' => 1 ) |
42 | 42 | ), |
43 | 43 | |
44 | - 'text' => array ( |
|
44 | + 'text' => array( |
|
45 | 45 | |
46 | - 'text/customer/information' => array( 'langid' => null, 'typeid' => 'customer/information', 'domain' => 'customer', 'label' => 'customer/information', 'content' => 'Customer information', 'status' => 1), |
|
47 | - 'text/customer/notify' => array( 'langid' => null, 'typeid' => 'customer/notify', 'domain' => 'customer', 'label' => 'customer/notify', 'content' => 'Customer notify', 'status' => 1), |
|
48 | - 'text/customer/newsletter' => array( 'langid' => null, 'typeid' => 'customer/newsletter', 'domain' => 'customer', 'label' => 'customer/newsletter', 'content' => 'Customer newsletter', 'status' => 1), |
|
46 | + 'text/customer/information' => array( 'langid' => null, 'typeid' => 'customer/information', 'domain' => 'customer', 'label' => 'customer/information', 'content' => 'Customer information', 'status' => 1 ), |
|
47 | + 'text/customer/notify' => array( 'langid' => null, 'typeid' => 'customer/notify', 'domain' => 'customer', 'label' => 'customer/notify', 'content' => 'Customer notify', 'status' => 1 ), |
|
48 | + 'text/customer/newsletter' => array( 'langid' => null, 'typeid' => 'customer/newsletter', 'domain' => 'customer', 'label' => 'customer/newsletter', 'content' => 'Customer newsletter', 'status' => 1 ), |
|
49 | 49 | //supplier |
50 | - 'text/supplier/description' => array( 'langid' => null, 'typeid' => 'supplier/description', 'domain' => 'supplier', 'label' => 'supplier/description', 'content' => 'Supplier description', 'status' => 1), |
|
50 | + 'text/supplier/description' => array( 'langid' => null, 'typeid' => 'supplier/description', 'domain' => 'supplier', 'label' => 'supplier/description', 'content' => 'Supplier description', 'status' => 1 ), |
|
51 | 51 | //ATTR |
52 | 52 | //size |
53 | 53 | 'text/size/XS' => array( 'langid' => null, 'typeid' => 'attribute/name', 'domain' => 'attribute', 'label' => 'size/XS', 'content' => 'XS', 'status' => 1 ), |
@@ -72,8 +72,7 @@ |
||
72 | 72 | { |
73 | 73 | $this->executeList( $stmts ); |
74 | 74 | $this->status( 'migrated' ); |
75 | - } |
|
76 | - else |
|
75 | + } else |
|
77 | 76 | { |
78 | 77 | $this->status( 'OK' ); |
79 | 78 | } |
@@ -172,8 +172,7 @@ |
||
172 | 172 | { |
173 | 173 | $this->executeList( $stmtList ); |
174 | 174 | $this->status( 'migrated' ); |
175 | - } |
|
176 | - else |
|
175 | + } else |
|
177 | 176 | { |
178 | 177 | $this->status( 'OK' ); |
179 | 178 | } |
@@ -78,8 +78,7 @@ discard block |
||
78 | 78 | { |
79 | 79 | $this->execute( $stmts['index'] ); |
80 | 80 | $this->status( 'dropped' ); |
81 | - } |
|
82 | - else |
|
81 | + } else |
|
83 | 82 | { |
84 | 83 | $this->status( 'OK' ); |
85 | 84 | } |
@@ -125,8 +124,7 @@ discard block |
||
125 | 124 | } else { |
126 | 125 | $this->status( 'OK' ); |
127 | 126 | } |
128 | - } |
|
129 | - else |
|
127 | + } else |
|
130 | 128 | { |
131 | 129 | $this->status( 'OK' ); |
132 | 130 | } |
@@ -67,8 +67,7 @@ |
||
67 | 67 | { |
68 | 68 | $this->execute( $stmt ); |
69 | 69 | $this->status( 'renamed' ); |
70 | - } |
|
71 | - else |
|
70 | + } else |
|
72 | 71 | { |
73 | 72 | $this->status( 'OK' ); |
74 | 73 | } |