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

V0.2: 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 54594eda
No related branches found
No related tags found
No related merge requests found
BASE=taxreport
PLUGINTYPE=vmextended
VERSION=0.1
VERSION=0.2
PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html
# $(BASE)/
......
File added
......@@ -19,7 +19,7 @@ class plgVmExtendedTaxReport extends vmExtendedPlugin {
// Currently, some path config seems missing, so the model is not found by default.
require_once($this->_path.DS.'models'.DS.'taxreport.php');
require_once($this->_path.DS.'controllers'.DS.'taxreport.php');
return true;
return false;
}
}
......
......@@ -7,7 +7,7 @@
<authorUrl>http://www.open-tools.net/</authorUrl>
<copyright>Copyright (C) 2015 Reinhold Kainhofer. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-3.0.html GNU/GPLv3</license>
<version>0.1</version>
<version>0.2</version>
<releaseDate>2015-04-01</releaseDate>
<releaseType>Initial Release</releaseType>
<downloadUrl>http://www.open-tools.net</downloadUrl>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment