You are here

function soundmanager2_update_7200 in SoundManager2 7.2

Update the variables table to change the naming of a couple SM2 variables that used dashes in the variable names.

File

./soundmanager2.install, line 53
Implements installation and requirements functions.

Code

function soundmanager2_update_7200() {
  db_query('UPDATE {variable} SET name = \'sm2_debug_mode\' WHERE name = \'sm2-debug-mode\'');
  db_query('UPDATE {variable} SET name = \'sm2_path\' WHERE name = \'sm2-path\'');
}