diff --git a/acymailing_subscribe_buyer.php b/acymailing_subscribe_buyer.php index 69a97b81a9dcd92ee03d3f29d04c11fffb1a5105..f9b8a8fc38a38f3406880243843392367fea93b9 100644 --- a/acymailing_subscribe_buyer.php +++ b/acymailing_subscribe_buyer.php @@ -17,7 +17,8 @@ defined('_JEXEC') or die( 'Direct Access to ' . basename( __FILE__ ) . ' is not if (!class_exists('vmCustomPlugin')) require(JPATH_VM_PLUGINS . DS . 'vmcustomplugin.php'); if(!include_once(rtrim(JPATH_ADMINISTRATOR,DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_acymailing'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php')){ JFactory::getApplication()->enqueueMessage(JText::_('VMCUSTOM_ACYBUYER_ACYMAILING_NEEDED'), 'error'); -} else { + return; +} class plgVmCustomAcyMailing_subscribe_Buyer extends vmCustomPlugin { @@ -270,5 +271,4 @@ class plgVmCustomAcyMailing_subscribe_Buyer extends vmCustomPlugin { } } -} // end if acymailing can be loaded // No closing tag \ No newline at end of file diff --git a/acymailing_subscribe_buyer.script.php b/acymailing_subscribe_buyer.script.php index 6ae5adade22605128c82143c3cac51699353aacb..fd72bcd86af5ee4c5ba183a027daf49c2cf69458 100644 --- a/acymailing_subscribe_buyer.script.php +++ b/acymailing_subscribe_buyer.script.php @@ -1,5 +1,11 @@ <?php defined('_JEXEC') or die('Restricted access'); +/** + * Installation script for the plugin + * + * @copyright Copyright (C) 2013 Reinhold Kainhofer, office@open-tools.net + * @license GPL v3+, http://www.gnu.org/copyleft/gpl.html + */ class plgVmCustomAcyMailing_subscribe_BuyerInstallerScript { diff --git a/releases/plg_vmcustom_acymailing_subscribe_buyer_v1.1.zip b/releases/plg_vmcustom_acymailing_subscribe_buyer_v1.1.zip index b486b1998c5fc86a0345632c95df2487e0c41e53..97b8160c96016cc2203a784277d84dd2a4cab8f3 100644 Binary files a/releases/plg_vmcustom_acymailing_subscribe_buyer_v1.1.zip and b/releases/plg_vmcustom_acymailing_subscribe_buyer_v1.1.zip differ