You are here

function scald_install in Scald: Media Management made easy 6

Same name and namespace in other branches
  1. 7 scald.install \scald_install()

Implementation of hook_install().

Installs the schema and then ensure that the hooks implemented by Scald Core will fire before those implemented by any Scald Providers (a direct modification of the {system} table is the only way to accomplish this).

File

./scald.install, line 596

Code

function scald_install() {
  drupal_install_schema('scald');
  db_query("UPDATE {system} SET weight = -50 WHERE name = 'scald'");
}