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()
144144 $ this ->_init ('cataloginventory/stock_item ' );
145145 }
146146
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-
162147 /**
163148 * Retrieve stock identifier
164149 *
Original file line number Diff line number Diff line change @@ -423,23 +423,6 @@ protected function _construct()
423423 $ this ->_init ('sales/order ' );
424424 }
425425
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-
443426 /**
444427 * Clear order object data
445428 *
Original file line number Diff line number Diff line change @@ -86,17 +86,6 @@ protected function _construct()
8686 $ this ->_init ('sales/order_address ' );
8787 }
8888
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-
10089 /**
10190 * Set order
10291 *
Original file line number Diff line number Diff line change @@ -178,17 +178,6 @@ protected function _construct()
178178 $ this ->_init ('sales/order_creditmemo ' );
179179 }
180180
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-
192181 /**
193182 * Retrieve Creditmemo configuration model
194183 *
Original file line number Diff line number Diff line change @@ -124,21 +124,6 @@ public function setCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
124124 return $ this ;
125125 }
126126
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-
142127 /**
143128 * Retrieve creditmemo instance
144129 *
Original file line number Diff line number Diff line change @@ -196,18 +196,6 @@ protected function _construct()
196196 $ this ->_init ('sales/order_invoice ' );
197197 }
198198
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-
211199 /**
212200 * Load invoice by increment id
213201 *
Original file line number Diff line number Diff line change @@ -114,20 +114,6 @@ function _construct()
114114 $ this ->_init ('sales/order_invoice_item ' );
115115 }
116116
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- }
131117 /**
132118 * Declare invoice instance
133119 *
Original file line number Diff line number Diff line change @@ -228,21 +228,6 @@ protected function _construct()
228228 $ this ->_init ('sales/order_item ' );
229229 }
230230
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-
246231 /**
247232 * Prepare data before save
248233 *
Original file line number Diff line number Diff line change @@ -101,17 +101,6 @@ protected function _construct()
101101 $ this ->_init ('sales/order_shipment ' );
102102 }
103103
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-
115104 /**
116105 * Load shipment by increment id
117106 *
Original file line number Diff line number Diff line change @@ -69,19 +69,6 @@ function _construct()
6969 $ this ->_init ('sales/order_shipment_track ' );
7070 }
7171
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-
8572 /**
8673 * Back compatibility with old versions.
8774 *
You can’t perform that action at this time.
0 commit comments