Commit 6536ad21 authored by dawehner's avatar dawehner Committed by tim.plunkett
Browse files

locale_language_list() was renamed to language_list().

parent 7c7920f7
......@@ -1264,8 +1264,8 @@ function options_summary(&$categories, &$options) {
'***DEFAULT_LANGUAGE***' => t("Default site language"),
LANGUAGE_NOT_SPECIFIED => t('Language neutral'),
);
if (module_exists('locale')) {
$languages = array_merge($languages, locale_language_list());
if (module_exists('language')) {
$languages = array_merge($languages, language_list());
}
$field_language = array();
$options['field_language'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment