function revokeCurrentImport()
{
$current_import = get_option('pressbooks_current_import');
if (is_array($current_import) && isset($current_import['file']) && is_file($current_import['file'])) {
unlink($current_import['file']);
}
\Pressbooks\Book::deleteBookObjectCache();
delete_transient('dirsize_cache');
/** @see get_dirsize() */
return delete_option('pressbooks_current_import');
}