From 91d6b14453b4e8d6f102f329fccafbe5b9efd355 Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Tue, 28 Feb 2012 16:24:49 -0800
Subject: [PATCH] Issue #1272840 follow-up by Dave Reid: Fixed broken upgrade
 path for language domains and validation.

---
 core/modules/locale/locale.install | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/core/modules/locale/locale.install b/core/modules/locale/locale.install
index a8bcb2d24410..f9f2c91c99da 100644
--- a/core/modules/locale/locale.install
+++ b/core/modules/locale/locale.install
@@ -290,6 +290,8 @@ function locale_update_8001() {
  * Converts language domains to new format.
  */
 function locale_update_8002() {
+  include_once DRUPAL_ROOT . '/core/includes/locale.inc';
+
   $message = '';
   $domains = locale_language_negotiation_url_domains();
   // $used_domains keeps track of the domain names in use.
-- 
GitLab