system_update_1020

Versions
5
system_update_1020()

Change break tag back (was removed from head).

Related topics

Code

modules/system/system.install, line 3481

<?php
function system_update_1020() {
  $ret = array();
  if (!variable_get('update_1020_ok', FALSE)) {
    $ret[] = update_sql("UPDATE {node_revisions} SET body = REPLACE(body, '<break>', '<!--break-->')");
  }
  variable_del('update_1020_ok');
  return $ret;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.