You are here

function filefield_nginx_progress_install in FileField Nginx Progress 7.2

Same name and namespace in other branches
  1. 6 filefield_nginx_progress.install \filefield_nginx_progress_install()
  2. 7 filefield_nginx_progress.install \filefield_nginx_progress_install()

Implementation of hook_install().

File

./filefield_nginx_progress.install, line 15
filefield_nginx_progress.install

Code

function filefield_nginx_progress_install() {

  // Alter the module weight to make sure we come after file fields.
  db_update('system')
    ->fields(array(
    'weight' => 20,
  ))
    ->condition('type', 'module')
    ->condition('name', 'filefield_nginx_progress')
    ->execute();
}