Commit 3a5c4830 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

V0.5: Make it work with the latest version of VM

VM now uses the return value of the extended plugin trigger. true is understood as: The plugin handled the controller itself, so virtuemart.php does not instantiate the controller and call the corresponding task => We actually want to return false, so VM calls the controller
parent f4628973
BASE=eurecap BASE=eurecap
PLUGINTYPE=vmextended PLUGINTYPE=vmextended
VERSION=0.4 VERSION=0.5
PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html
# $(BASE)/ # $(BASE)/
......
...@@ -52,7 +52,7 @@ class plgVmExtendedEuRecap extends vmExtendedPlugin { ...@@ -52,7 +52,7 @@ class plgVmExtendedEuRecap extends vmExtendedPlugin {
require_once($this->_path.DS.'models'.DS.'eurecap.php'); require_once($this->_path.DS.'models'.DS.'eurecap.php');
require_once($this->_path.DS.'models'.DS.'eurecap_config.php'); require_once($this->_path.DS.'models'.DS.'eurecap_config.php');
require_once($this->_path.DS.'controllers'.DS.'eurecap.php'); require_once($this->_path.DS.'controllers'.DS.'eurecap.php');
return true; return false;
} }
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<authorUrl>http://www.open-tools.net/</authorUrl> <authorUrl>http://www.open-tools.net/</authorUrl>
<copyright>Copyright (C) 2015 Reinhold Kainhofer. All rights reserved.</copyright> <copyright>Copyright (C) 2015 Reinhold Kainhofer. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3</license> <license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3</license>
<version>0.4</version> <version>0.5</version>
<releaseDate>2016-01-01</releaseDate> <releaseDate>2016-01-01</releaseDate>
<releaseType>Update</releaseType> <releaseType>Update</releaseType>
<downloadUrl>http://www.open-tools.net</downloadUrl> <downloadUrl>http://www.open-tools.net</downloadUrl>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment