function com_uninstall() { // Include install helper $helper = dirname(__FILE__) . DS . 'install.linkr.php'; if (file_exists($helper)) { require_once $helper; if (!class_exists('LinkrInstaller')) { return true; } } else { return true; } // Uninstall plugins return LinkrInstaller::uninstall(); }