You are here

function lightbox2_update_1 in Lightbox2 6

Same name and namespace in other branches
  1. 8 lightbox2.install \lightbox2_update_1()
  2. 5.2 lightbox2.install \lightbox2_update_1()
  3. 7.2 lightbox2.install \lightbox2_update_1()
  4. 7 lightbox2.install \lightbox2_update_1()

One of the variables was renamed from 'lightbox2_plus' to 'lightbox2_lite'.

Should have been created with lightbox2_update_600x() naming convention, but too late now.

File

./lightbox2.install, line 105
Installation functions for Lightbox2.

Code

function lightbox2_update_1() {
  $ret = array();
  $ret[] = update_sql('UPDATE {variable} SET name="lightbox2_lite"
    WHERE name="lightbox2_plus";');
  return $ret;
}