You are here

function views_data_export_view_clear in Views data export 7.4

Same name and namespace in other branches
  1. 6.3 views_data_export.module \views_data_export_view_clear()
  2. 6 views_data_export.module \views_data_export_view_clear()
  3. 6.2 views_data_export.module \views_data_export_view_clear()
  4. 7 views_data_export.module \views_data_export_view_clear()
  5. 7.3 views_data_export.module \views_data_export_view_clear()

Clear a view from the object cache.

Parameters

$export_id: An export ID or an array of export IDs to clear from the object cache.

3 calls to views_data_export_view_clear()
views_data_export_clear in ./views_data_export.module
Remove the information about an export.
views_data_export_garbage_collect in ./views_data_export.module
Removes any temporary index tables that have been left behind. This is caused by batch processes which are started but never finished.
views_data_export_view_store in ./views_data_export.module
Store a view in the object cache.

File

./views_data_export.module, line 266
Provides the ability to export to specific

Code

function views_data_export_view_clear($export_id) {
  db_delete('views_data_export_object_cache')
    ->condition('eid', $export_id)
    ->execute();
}