You are here

function i18nsync_install in Internationalization 6

Same name and namespace in other branches
  1. 5.3 experimental/i18nsync.install \i18nsync_install()
  2. 5 experimental/i18nsync.install \i18nsync_install()
  3. 5.2 experimental/i18nsync.install \i18nsync_install()

Set module weight.

Make sure this runs after taxonomy, i18n and translation modules and ideally after all other modules implementing nodeapi hook.

File

i18nsync/i18nsync.install, line 14
Installation file for i18nsync module.

Code

function i18nsync_install() {
  db_query("UPDATE {system} SET weight = 100 WHERE name = 'i18nsync' AND type = 'module'");
}