function RemoveAll() {
global $use_mysql;
global $path_to_lists, $path_to_requests, $path_to_mailqueue, $path_to_sqlqueue, $path_to_uploads;
$result = true;
if ( $use_mysql == 1 ) {
// ***** MYSQL STUFF HERE *****
$result = $result && RemoveListTable();
// ***** MYSQL STUFF HERE *****
}
if ( file_exists( $path_to_lists) ) { $result = $result && DeleteDirectory( $path_to_lists ); }
if ( file_exists( $path_to_sqlqueue) ) { $result = $result && DeleteDirectory( $path_to_sqlqueue ); }
if ( file_exists( $path_to_requests) ) { $result = $result && DeleteDirectory( $path_to_requests ); }
if ( file_exists( $path_to_mailqueue) ) { $result = $result && DeleteDirectory( $path_to_mailqueue ); }
if ( file_exists( $path_to_uploads) ) { $result = $result && DeleteDirectory( $path_to_uploads ); }
return $result;
}