system_update_6042

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

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

Версии
6
system_update_6042()

Upgrade recolored theme stylesheets to new array structure.

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

Код

<?php
function system_update_6042() {
  foreach (list_themes() as $theme) {
    $stylesheet = variable_get('color_'. $theme->name .'_stylesheet', NULL);
    if (!empty($stylesheet)) {
      variable_set('color_'. $theme->name .'_stylesheets', array($stylesheet));
      variable_del('color_'. $theme->name .'_stylesheet');
    }
  }
  return array();
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

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