You are here

function ckeditor_update_6100 in CKEditor - WYSIWYG HTML editor 6

Implementation of hook_update_N().

Deletes all plus signs from profile names.

File

./ckeditor.install, line 490

Code

function ckeditor_update_6100() {
  $ret = array();
  $ret[] = update_sql("UPDATE {ckeditor_role} SET name = REPLACE(name,'+','')");
  $ret[] = update_sql("UPDATE {ckeditor_role} SET name = REPLACE(name,'/','')");
  $ret[] = update_sql("UPDATE {ckeditor_settings} SET name = REPLACE(name,'+','')");
  $ret[] = update_sql("UPDATE {ckeditor_settings} SET name = REPLACE(name,'/','')");
  return $ret;
}