File : plugin_uninstall.php

<?php
if (!defined('JOMRES_INSTALLER')) exit;
 
// Do whatever you need to do here to drop any plugin's database tables/clean up files that might be been put outside of the remote_plugins/dummy_third_party_plugin directory by this plugin. Jomres will handle the removal of the dummy_third_party_plugin remote plugins folder itself.
 
/*
$table_name = " #__jomres_thirdpartyplugin_dummy_third_party_plugin";
 
$query= "DROP TABLE IF EXISTS `".$table_name."`";
echo "Dropping table ".$table_name." <br>";
if (!doInsertSql($query,'') )
echo "<b>Error, unable to drop table ".$table_name."</b><br>";
}
*/
 
?>
This document is copyright Vince Wooll/Woollyinwales IT, 2011. All rights reserved.