#894900 by mrfelton: Fixed Call to undefined function locale_language_negotiation_info() on site upgrade.
parent
1e985830e2
commit
d665a2ce9e
|
@ -46,6 +46,7 @@ function locale_update_7000() {
|
||||||
*/
|
*/
|
||||||
function locale_update_7001() {
|
function locale_update_7001() {
|
||||||
require_once DRUPAL_ROOT . '/includes/language.inc';
|
require_once DRUPAL_ROOT . '/includes/language.inc';
|
||||||
|
require_once DRUPAL_ROOT . '/modules/locale/locale.module';
|
||||||
|
|
||||||
switch (variable_get('language_negotiation', 0)) {
|
switch (variable_get('language_negotiation', 0)) {
|
||||||
// LANGUAGE_NEGOTIATION_NONE.
|
// LANGUAGE_NEGOTIATION_NONE.
|
||||||
|
|
Loading…
Reference in New Issue