You are here

function advagg_js_compress_update_7203 in Advanced CSS/JS Aggregation 7.2

Remove unused variables from the variable table.

Implements hook_update_N().

File

advagg_js_compress/advagg_js_compress.install, line 142
Handles AdvAgg JS compress installation and upgrade tasks.

Code

function advagg_js_compress_update_7203(&$sandbox) {

  // Remove all old advagg css compress variables.
  db_delete('variable')
    ->condition('name', 'advagg_js_compressor_file_settings_%', 'LIKE')
    ->execute();
}