Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VirtueMart
Add Buyers to Joomla Groups for VirtueMart
Commits
b87b37a4
Commit
b87b37a4
authored
Jan 08, 2015
by
Reinhold Kainhofer
Browse files
Fix VM3 and php warnings
parent
22227d01
Changes
2
Hide whitespace changes
Inline
Side-by-side
buyer_assign_group.php
View file @
b87b37a4
...
...
@@ -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:
...
...
buyer_assign_group.script.php
View file @
b87b37a4
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment