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

Fix VM3 and php warnings

parent 22227d01
No related branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,8 @@ class plgVmCustomBuyer_Assign_Group extends vmCustomPlugin {
* We must reimplement this triggers for joomla 1.7
* vmplugin triggers note by Max Milbers
*/
public function plgVmOnStoreInstallPluginTable($psType) {
return $this->onStoreInstallPluginTable($psType);
public function plgVmOnStoreInstallPluginTable($psType, $name) {
return $this->onStoreInstallPluginTable($psType, $name);
}
// VM2 Compat:
......
......@@ -46,7 +46,7 @@ class plgVmCustomBuyer_Assign_GroupInstallerScript
public function install(JAdapterInstance $adapter)
{
// enabling plugin
$db =& JFactory::getDBO();
$db = JFactory::getDBO();
$db->setQuery('update #__extensions set enabled = 1 where type = "plugin" and element = "buyer_assign_group" and folder = "vmcustom"');
$db->query();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment