fastslack/jUpgradePro

REST migration fails bcse of double method definition in REST-Plugin for Joomla 1.5

Closed this issue · 1 comments

Hi All,

during my first attempts to use jUpgrade Pro I've encountered an error in the migration source joomla 1.5 RESTplugin:

PHP Fatal error: Cannot redeclare JUpgradeTableModules::migrate() in /opt/www/sourcehost/root/plugins/system/jupgrade/table/modules.php on line 133

This is due to the fact that method migrate is declared twice,

first occurence in
https://github.com/fastslack/jUpgradePro/blob/master/trunk/plugins/plg_jupgradepro-1.5/jupgrade/table/modules.php#L93

second in
https://github.com/fastslack/jUpgradePro/blob/master/trunk/plugins/plg_jupgradepro-1.5/jupgrade/table/modules.php#L133

where the second declaration is broken in line 139.

Best regards
level420

Ups.. thanks very much for reporting this. Fixed now. 59c9aac