You are here

function filefield_sources_install in FileField Sources 6

Same name and namespace in other branches
  1. 8 filefield_sources.install \filefield_sources_install()
  2. 7 filefield_sources.install \filefield_sources_install()

Implementation of hook_install().

File

./filefield_sources.install, line 11
Update and install functions for FileField Sources.

Code

function filefield_sources_install() {

  // FileField Sources needs to load after both ImageField and FileField.
  db_query("UPDATE {system} SET weight = 5 WHERE type = 'module' AND name = 'filefield_sources'");
}