function lightbox2_update_1 in Lightbox2 8
Same name and namespace in other branches
- 5.2 lightbox2.install \lightbox2_update_1()
- 6 lightbox2.install \lightbox2_update_1()
- 7.2 lightbox2.install \lightbox2_update_1()
- 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 111 - 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;
}