}
function cleanup() {
+ global $serendipity;
+
// Purge cached XML files.
$files = serendipity_traversePath($serendipity['serendipityPath'] . PATH_SMARTY_COMPILE, '', false, '/package_.+\.xml$/');
printf(DELETING_FILE . '<br />', $file['name']);
@unlink($serendipity['serendipityPath'] . PATH_SMARTY_COMPILE . '/' . $file['name']);
}
+
+ serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}pluginlist");
+ serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}plugincategories");
}
function &getMirrors($type = 'xml', $loc = false) {