?
avatar zero-24
zero-24
7 Dec 2014

Hi,
Do we need to delete the EOS Plugin if we upgrade from 2.5.28 to 3.x?

I have see that we now checking if the Plugin runs on 3.x and disable it. (d02d082)

But i think we should uninstall it after the upgrade is success e.g. with com_admin script.php?

Something like:

$user = JFactory::getUser();

if ($user->authorise('core.delete', 'com_installer'))
{
        require_once JPATH_ADMINISTRATOR . /components/com_installer/models/manage.php
        $eos_25 = array('447');

        InstallerModelManage->remove($eos_25);
}
else
{
        $app = JFactory::getApplication();
        $app->enqueueMessage('You are not permitted to uninstall extensions, please contact your system Administrator to uninstall the EOS Plugin', 'error');
}

And move the string finaly into a language const :smile:

avatar zero-24 zero-24 - open - 7 Dec 2014
avatar jissues-bot jissues-bot - change - 7 Dec 2014
Labels Added: ?
avatar mbabker
mbabker - comment - 7 Dec 2014

Please test #5064

avatar zero-24
zero-24 - comment - 7 Dec 2014

Thanks I will have a look into it. Sorry I did not have in mind your PR..

avatar zero-24 zero-24 - close - 7 Dec 2014
avatar zero-24 zero-24 - change - 7 Dec 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-12-07 22:35:57

Add a Comment

Login with GitHub to post a comment