Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function taxomenu_install() {
- switch ($GLOBALS['db_type']) {
- case 'mysql':
- case 'mysqli':
- // the {tablename} syntax is so multisite installs can add a
- // prefix to the table name as set in the settings.php file
- db_query("
- UPDATE {taxonomy_term_data}
- SET language = 'fr'
- WHERE
- (vid = 2 or vid = 1)
- AND
- language = 'und'
- ");
- break;
- }
- }
- ?>
Add Comment
Please, Sign In to add comment