File tree Expand file tree Collapse file tree 15 files changed +1
-214
lines changed
CatalogInventory/Model/Stock Expand file tree Collapse file tree 15 files changed +1
-214
lines changed Original file line number Diff line number Diff line change @@ -144,21 +144,6 @@ protected function _construct()
144
144
$ this ->_init ('cataloginventory/stock_item ' );
145
145
}
146
146
147
- /**
148
- * Init mapping array of short fields to
149
- * its full names
150
- *
151
- * @resturn Varien_Object
152
- */
153
- protected function _initOldFieldsMap ()
154
- {
155
- // pre 1.6 fields names, old => new
156
- $ this ->_oldFieldsMap = array (
157
- 'stock_status_changed_automatically ' => 'stock_status_changed_auto ' ,
158
- 'use_config_enable_qty_increments ' => 'use_config_enable_qty_inc '
159
- );
160
- }
161
-
162
147
/**
163
148
* Retrieve stock identifier
164
149
*
Original file line number Diff line number Diff line change @@ -423,23 +423,6 @@ protected function _construct()
423
423
$ this ->_init ('sales/order ' );
424
424
}
425
425
426
- /**
427
- * Init mapping array of short fields to
428
- * its full names
429
- *
430
- * @return Varien_Object
431
- */
432
- protected function _initOldFieldsMap ()
433
- {
434
- // pre 1.6 fields names, old => new
435
- $ this ->_oldFieldsMap = [
436
- 'payment_authorization_expiration ' => 'payment_auth_expiration ' ,
437
- 'forced_do_shipment_with_invoice ' => 'forced_shipment_with_invoice ' ,
438
- 'base_shipping_hidden_tax_amount ' => 'base_shipping_hidden_tax_amnt ' ,
439
- ];
440
- return $ this ;
441
- }
442
-
443
426
/**
444
427
* Clear order object data
445
428
*
Original file line number Diff line number Diff line change @@ -86,17 +86,6 @@ protected function _construct()
86
86
$ this ->_init ('sales/order_address ' );
87
87
}
88
88
89
- /**
90
- * Init mapping array of short fields to its full names
91
- *
92
- * @return $this
93
- */
94
- protected function _initOldFieldsMap ()
95
- {
96
- $ this ->_oldFieldsMap = Mage::helper ('sales ' )->getOldFieldMap ('order_address ' );
97
- return $ this ;
98
- }
99
-
100
89
/**
101
90
* Set order
102
91
*
Original file line number Diff line number Diff line change @@ -178,17 +178,6 @@ protected function _construct()
178
178
$ this ->_init ('sales/order_creditmemo ' );
179
179
}
180
180
181
- /**
182
- * Init mapping array of short fields to its full names
183
- *
184
- * @return $this
185
- */
186
- protected function _initOldFieldsMap ()
187
- {
188
- $ this ->_oldFieldsMap = Mage::helper ('sales ' )->getOldFieldMap ('order_creditmemo ' );
189
- return $ this ;
190
- }
191
-
192
181
/**
193
182
* Retrieve Creditmemo configuration model
194
183
*
Original file line number Diff line number Diff line change @@ -124,21 +124,6 @@ public function setCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
124
124
return $ this ;
125
125
}
126
126
127
- /**
128
- * Init mapping array of short fields to
129
- * its full names
130
- *
131
- * @return Varien_Object
132
- */
133
- protected function _initOldFieldsMap ()
134
- {
135
- // pre 1.6 fields names, old => new
136
- $ this ->_oldFieldsMap = [
137
- 'base_weee_tax_applied_row_amount ' => 'base_weee_tax_applied_row_amnt ' ,
138
- ];
139
- return $ this ;
140
- }
141
-
142
127
/**
143
128
* Retrieve creditmemo instance
144
129
*
Original file line number Diff line number Diff line change @@ -196,18 +196,6 @@ protected function _construct()
196
196
$ this ->_init ('sales/order_invoice ' );
197
197
}
198
198
199
-
200
- /**
201
- * Init mapping array of short fields to its full names
202
- *
203
- * @return $this
204
- */
205
- protected function _initOldFieldsMap ()
206
- {
207
- $ this ->_oldFieldsMap = Mage::helper ('sales ' )->getOldFieldMap ('order_invoice ' );
208
- return $ this ;
209
- }
210
-
211
199
/**
212
200
* Load invoice by increment id
213
201
*
Original file line number Diff line number Diff line change @@ -114,20 +114,6 @@ function _construct()
114
114
$ this ->_init ('sales/order_invoice_item ' );
115
115
}
116
116
117
- /**
118
- * Init mapping array of short fields to
119
- * its full names
120
- *
121
- * @return Varien_Object
122
- */
123
- protected function _initOldFieldsMap ()
124
- {
125
- // pre 1.6 fields names, old => new
126
- $ this ->_oldFieldsMap = [
127
- 'base_weee_tax_applied_row_amount ' => 'base_weee_tax_applied_row_amnt ' ,
128
- ];
129
- return $ this ;
130
- }
131
117
/**
132
118
* Declare invoice instance
133
119
*
Original file line number Diff line number Diff line change @@ -228,21 +228,6 @@ protected function _construct()
228
228
$ this ->_init ('sales/order_item ' );
229
229
}
230
230
231
- /**
232
- * Init mapping array of short fields to
233
- * its full names
234
- *
235
- * @return Varien_Object
236
- */
237
- protected function _initOldFieldsMap ()
238
- {
239
- // pre 1.6 fields names, old => new
240
- $ this ->_oldFieldsMap = [
241
- 'base_weee_tax_applied_row_amount ' => 'base_weee_tax_applied_row_amnt ' ,
242
- ];
243
- return $ this ;
244
- }
245
-
246
231
/**
247
232
* Prepare data before save
248
233
*
Original file line number Diff line number Diff line change @@ -101,17 +101,6 @@ protected function _construct()
101
101
$ this ->_init ('sales/order_shipment ' );
102
102
}
103
103
104
- /**
105
- * Init mapping array of short fields to its full names
106
- *
107
- * @return $this
108
- */
109
- protected function _initOldFieldsMap ()
110
- {
111
- $ this ->_oldFieldsMap = Mage::helper ('sales ' )->getOldFieldMap ('order_shipment ' );
112
- return $ this ;
113
- }
114
-
115
104
/**
116
105
* Load shipment by increment id
117
106
*
Original file line number Diff line number Diff line change @@ -69,19 +69,6 @@ function _construct()
69
69
$ this ->_init ('sales/order_shipment_track ' );
70
70
}
71
71
72
- /**
73
- * Init mapping array of short fields to
74
- * its full names
75
- *
76
- * @resturn Varien_Object
77
- */
78
- protected function _initOldFieldsMap ()
79
- {
80
- $ this ->_oldFieldsMap = array (
81
- 'number ' => 'track_number '
82
- );
83
- }
84
-
85
72
/**
86
73
* Back compatibility with old versions.
87
74
*
You can’t perform that action at this time.
0 commit comments