You are here

function bueditor_update_6202 in BUEditor 6.2

Rename bue.html.js to bue.markup.js to prevent a false positive virus alert by some AV.

File

./bueditor.install, line 258
Installs, updates, and uninstalls BUEditor.

Code

function bueditor_update_6202() {
  db_query("UPDATE {bueditor_editors} SET librarypath = REPLACE(librarypath, 'bue.html.js', 'bue.markup.js')");
  return array(
    array(
      'success' => TRUE,
      'query' => 'bue.html.js was renamed to bue.markup.js',
    ),
  );
}