You are here

function i18nsync_install in Internationalization 5

Same name and namespace in other branches
  1. 5.3 experimental/i18nsync.install \i18nsync_install()
  2. 5.2 experimental/i18nsync.install \i18nsync_install()
  3. 6 i18nsync/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

experimental/i18nsync.install, line 8

Code

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