Commit c0216187 authored by catch's avatar catch
Browse files

Issue #1309742 by rocket_nova: Add inline comment clarifying use of...

Issue #1309742 by rocket_nova: Add inline comment clarifying use of language_list() in system_date_format_save().
parent 63d083bb
......@@ -3894,7 +3894,10 @@ function system_date_format_save($date_format, $dfid = 0) {
drupal_write_record('date_formats', $info, $keys);
}
// Retrieve an array of language objects for enabled languages.
$languages = language_list('enabled');
// This list is keyed off the value of $language->enabled; we want the ones
// that are enabled (value of 1).
$languages = $languages[1];
$locale_format = 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