<?php

define('IN_COPPERMINE', true);

require('include/init.inc.php');

echo "<HTML><HEAD></HEAD><BODY>";
$sql = "DELETE FROM {$CONFIG['TABLE_PLUGINS']} WHERE 1;";
if (mysql_query($sql)) {
    echo "<h3>All plugins uninstalled.</h3>";
} else {
    echo "<h3>Error trying to uninstall plugins.</h3>\n";
    echo "MySQL query: ".$sql."<br />\n";
    echo "MySQL error: ".mysql_error()."<br />\n";
}
echo "</BODY></HTML>";

?>
