You are here

function skinr_update_6004 in Skinr 6.2

Change all panels regions to the new format.

File

./skinr.install, line 282
skinr.install Contains install, update, and uninstall functions for Skinr.

Code

function skinr_update_6004() {
  $ret = array();
  $ret[] = update_sql("UPDATE {skinr} SET sid = REPLACE(sid, '-panel-', '-region-') WHERE module = 'panels' AND sid LIKE '%-panel-%'");
  return $ret;
}