| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/icd/administrator/components/com_jumi/ |
Upload File : |
<?php
defined("_JEXEC") or die("Restricted access");
$uninstaller = new InstallerController;
// uninstalling jumi module
$db->setQuery("select id from #__modules where title = 'Jumi'");
$jumi_module = $db->loadObject();
$module_uninstaller = new JInstaller;
if($module_uninstaller->uninstall('module', $jumi_module->id))
echo 'Module uninstall success', '<br />';
else
echo 'Module uninstall failed', '<br />';
// uninstalling jumi plugin
$db->setQuery("select id from #__plugins where name = 'Jumi'");
$jumi_plugin = $db->loadObject();
$plugin_uninstaller = new JInstaller;
if($plugin_uninstaller->uninstall('plugin', $jumi_plugin->id))
echo 'Plugin uninstall success', '<br />';
else
echo 'Plugin uninstall failed', '<br />';
// uninstalling jumi router
$db->setQuery("select id from #__plugins where name = 'System - Jumi Router'");
$jumi_router = $db->loadObject();
$plugin_uninstaller = new JInstaller;
if($plugin_uninstaller->uninstall('plugin', $jumi_router->id))
echo 'Router uninstall success', '<br />';
else
echo 'Router uninstall failed', '<br />';