You are here

function smart_paging_update_7000 in Smart Paging 7

Same name and namespace in other branches
  1. 7.2 smart_paging.install \smart_paging_update_7000()

Rename all 'name' field with 'filter_html' value to 'smart_paging_filter' where 'module' field have 'smart_paging' value.

File

./smart_paging.install, line 70
Smart paging installation callback.

Code

function smart_paging_update_7000() {
  db_update('filter')
    ->fields(array(
    'name' => 'smart_paging_filter',
  ))
    ->condition('module', 'smart_paging')
    ->execute();
}