From 4a8cc339be3914636f0504bf2bc7d10e79362638 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Mon, 11 Jun 2012 10:59:00 -0700 Subject: [PATCH] Issue #1512310 by vasi1186, cosmicdreams, Rob Loach, disasm: Remove reference to global language_url in docs --- core/includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/includes/common.inc b/core/includes/common.inc index fa4c0c90c33..6c489b23d5a 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -2031,8 +2031,8 @@ function _format_date_callback(array $matches = NULL, $new_langcode = NULL) { * - 'external': Whether the given path is an external URL. * - 'language': An optional language object. If the path being linked to is * internal to the site, $options['language'] is used to look up the alias - * for the URL. If $options['language'] is omitted, the global $language_url - * will be used. + * for the URL. If $options['language'] is omitted, the language will be + * obtained from drupal_container()->get(LANGUAGE_TYPE_URL). * - 'https': Whether this URL should point to a secure location. If not * defined, the current scheme is used, so the user stays on http or https * respectively. TRUE enforces HTTPS and FALSE enforces HTTP, but HTTPS can