Skip to content

Commit

Permalink
Renamed module names from Netz98_ to N98
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Münch committed Aug 5, 2011
1 parent 0d39c3d commit 2a85938
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 51 deletions.
@@ -1,32 +1,32 @@
<?php
/**
* Copyright © 2011
* netz98 new media GmbH. All rights reserved.
*
* The use and redistribution of this software, either compiled or uncompiled,
* with or without modifications are permitted provided that the
* Copyright © 2011
* netz98 new media GmbH. All rights reserved.
*
* The use and redistribution of this software, either compiled or uncompiled,
* with or without modifications are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of compiled or uncompiled source must contain the above
* copyright notice, this list of the conditions and the following disclaimer:
*
* 2. All advertising materials mentioning features or use of this software must
* display the following acknowledgement:
* 1. Redistributions of compiled or uncompiled source must contain the above
* copyright notice, this list of the conditions and the following disclaimer:
*
* 2. All advertising materials mentioning features or use of this software must
* display the following acknowledgement:
* "This product includes software developed by the netz98 new media GmbH, Mainz."
*
* 3. The name of the netz98 new media GmbH may not be used to endorse or promote
* 3. The name of the netz98 new media GmbH may not be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* 4. License holders of the netz98 new media GmbH are only permitted to
* redistribute altered software, if this is licensed under conditions that contain
* a copyleft-clause.
* 4. License holders of the netz98 new media GmbH are only permitted to
* redistribute altered software, if this is licensed under conditions that contain
* a copyleft-clause.
*
* This software is provided by the netz98 new media GmbH without any express or
* implied warranties. netz98 is under no condition liable for the functional
* capability of this software for a certain purpose or the general usability.
* netz98 is under no condition liable for any direct or indirect damages resulting
* from the use of the software.
* Liability and Claims for damages of any kind are excluded.
* This software is provided by the netz98 new media GmbH without any express or
* implied warranties. netz98 is under no condition liable for the functional
* capability of this software for a certain purpose or the general usability.
* netz98 is under no condition liable for any direct or indirect damages resulting
* from the use of the software.
* Liability and Claims for damages of any kind are excluded.
*/

/**
Expand Down
41 changes: 20 additions & 21 deletions app/code/local/N98/CustomerGroupCheckout/Model/Payment/Observer.php
@@ -1,32 +1,32 @@
<?php
/**
* Copyright © 2011
* netz98 new media GmbH. All rights reserved.
*
* The use and redistribution of this software, either compiled or uncompiled,
* with or without modifications are permitted provided that the
* Copyright © 2011
* netz98 new media GmbH. All rights reserved.
*
* The use and redistribution of this software, either compiled or uncompiled,
* with or without modifications are permitted provided that the
* following conditions are met:
*
* 1. Redistributions of compiled or uncompiled source must contain the above
* copyright notice, this list of the conditions and the following disclaimer:
*
* 2. All advertising materials mentioning features or use of this software must
* display the following acknowledgement:
* 1. Redistributions of compiled or uncompiled source must contain the above
* copyright notice, this list of the conditions and the following disclaimer:
*
* 2. All advertising materials mentioning features or use of this software must
* display the following acknowledgement:
* "This product includes software developed by the netz98 new media GmbH, Mainz."
*
* 3. The name of the netz98 new media GmbH may not be used to endorse or promote
* 3. The name of the netz98 new media GmbH may not be used to endorse or promote
* products derived from this software without specific prior written permission.
*
* 4. License holders of the netz98 new media GmbH are only permitted to
* redistribute altered software, if this is licensed under conditions that contain
* a copyleft-clause.
* 4. License holders of the netz98 new media GmbH are only permitted to
* redistribute altered software, if this is licensed under conditions that contain
* a copyleft-clause.
*
* This software is provided by the netz98 new media GmbH without any express or
* implied warranties. netz98 is under no condition liable for the functional
* capability of this software for a certain purpose or the general usability.
* netz98 is under no condition liable for any direct or indirect damages resulting
* from the use of the software.
* Liability and Claims for damages of any kind are excluded.
* This software is provided by the netz98 new media GmbH without any express or
* implied warranties. netz98 is under no condition liable for the functional
* capability of this software for a certain purpose or the general usability.
* netz98 is under no condition liable for any direct or indirect damages resulting
* from the use of the software.
* Liability and Claims for damages of any kind are excluded.
*/

/**
Expand All @@ -50,7 +50,6 @@ class N98_CustomerGroupCheckout_Model_Payment_Observer
*/
public function methodIsAvailable(Varien_Event_Observer $observer)
{
$quote = $observer->getQuote();
$paymentMethodInstance = $observer->getMethodInstance();
/* @var $paymentMethodInstance Mage_Payment_Model_Method_Abstract */
$result = $observer->getResult();
Expand Down
20 changes: 10 additions & 10 deletions app/code/local/N98/CustomerGroupCheckout/etc/config.xml
Expand Up @@ -13,22 +13,22 @@
</modules>
<global>
<blocks>
<Netz98_CustomerGroupCheckout>
<class>Netz98_CustomerGroupCheckout_Block</class>
</Netz98_CustomerGroupCheckout>
<n98_customergroupcheckout>
<class>N98_CustomerGroupCheckout_Block</class>
</n98_customergroupcheckout>
<adminhtml>
<rewrite>
<system_config_form>Netz98_CustomerGroupCheckout_Block_Adminhtml_System_Config_Form</system_config_form>
<system_config_form>N98_CustomerGroupCheckout_Block_Adminhtml_System_Config_Form</system_config_form>
</rewrite>
</adminhtml>
</blocks>
<models>
<Netz98_CustomerGroupCheckout>
<class>Netz98_CustomerGroupCheckout_Model</class>
</Netz98_CustomerGroupCheckout>
<models>
<n98_customergroupcheckout>
<class>N98_CustomerGroupCheckout_Model</class>
</n98_customergroupcheckout>
<shipping>
<rewrite>
<shipping>Netz98_CustomerGroupCheckout_Model_Shipping_Shipping</shipping>
<shipping>N98_CustomerGroupCheckout_Model_Shipping_Shipping</shipping>
</rewrite>
</shipping>
</models>
Expand All @@ -38,7 +38,7 @@
<payment_method_is_active>
<observers>
<customer_group_check>
<class>Netz98_CustomerGroupCheckout/payment_observer</class>
<class>n98_customergroupcheckout/payment_observer</class>
<method>methodIsAvailable</method>
</customer_group_check>
</observers>
Expand Down

0 comments on commit 2a85938

Please sign in to comment.