system_update_6010

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

modules/system/system.install, строка 1330

Версии
6
system_update_6010()

Add variable replacement for watchdog messages.

The variables field is NOT NULL and does not have a default value. Existing log messages should not be translated in the new system, so we insert 'N;' (serialize(NULL)) as the temporary default but then remove the default value to match the schema.

Связанные темы

Код

<?php
function system_update_6010() {
  $ret = array();
  db_add_field($ret, 'watchdog', 'variables', array('type' => 'text', 'size' => 'big', 'not null' => TRUE, 'initial' => 'N;'));
  return $ret;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему