Skip to content
Snippets Groups Projects
Commit 28c387ee authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Version 1.2: Turn off access checking by AcyMailing and always add the users as configured

parent 8e7df3be
No related branches found
No related tags found
No related merge requests found
BASE=acymailing_subscribe_buyer
PLUGINTYPE=vmcustom
VERSION=1.1
VERSION=1.2
PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html
......
......@@ -90,6 +90,7 @@ class plgVmCustomAcyMailing_subscribe_Buyer extends vmCustomPlugin {
foreach ($lists as $l) {
$newSubscription[$l] = array ('status'=>1);
}
$subscriberClass->checkAccess = false;
$subscriberClass->saveSubscription($acyuid, $newSubscription);
}
......
<?xml version="1.0" encoding="UTF-8" ?>
<install version="1.5" type="plugin" group="vmcustom" method="upgrade">
<name>VMCUSTOM_ACYBUYER</name>
<creationDate>2013-02-24</creationDate>
<creationDate>2014-04-27</creationDate>
<author>Reinhold Kainhofer</author>
<authorUrl>http://www.open-tools.net/</authorUrl>
<copyright>Copyright (C) 2013 Reinhold Kainhofer. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license>
<version>1.1.0</version>
<version>1.2.0</version>
<description>VMCUSTOM_ACYBUYER_DESC</description>
<files>
<filename plugin="acymailing_subscribe_buyer">acymailing_subscribe_buyer.php</filename>
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment