Skip to content

Commit

Permalink
Merge pull request #326 from myparcelnl/reindert-vetter-patch-1
Browse files Browse the repository at this point in the history
Reindert vetter patch 1
  • Loading branch information
Reindert authored Jun 24, 2017
2 parents 8a40d33 + 927d9b2 commit aa39c07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/code/community/TIG/MyParcel2014/Model/Sales/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
if (file_exists(Mage::getBaseDir() . '/app/code/community/MDN/AdvancedStock/Model/Sales/Order.php') && class_exists('MDN_AdvancedStock_Model_Sales_Order')) {
class TIG_MyParcel2014_Model_Sales_Order_OverrideCheck extends MDN_AdvancedStock_Model_Sales_Order { }
} else if (class_exists('Emagicone_Mobassistantconnector_Model_Order')) {
} else if (file_exists(Mage::getBaseDir() . '/app/code/community/Emagicone/Mobassistantconnector/Model/Sales/Order.php') && class_exists('Emagicone_Mobassistantconnector_Model_Order')) {
class TIG_MyParcel2014_Model_Sales_Order_OverrideCheck extends Emagicone_Mobassistantconnector_Model_Order { }
} else {
class TIG_MyParcel2014_Model_Sales_Order_OverrideCheck extends Mage_Sales_Model_Order { }
Expand Down Expand Up @@ -68,4 +68,4 @@ public function getShippingAddress() {
return false;
}

}
}
2 changes: 1 addition & 1 deletion app/code/community/TIG/MyParcel2014/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<TIG_MyParcel2014>
<version>1.13.3</version>
<version>1.13.4</version>
</TIG_MyParcel2014>
</modules>
<global>
Expand Down

0 comments on commit aa39c07

Please sign in to comment.