summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-09-30 20:50:50 -0400
committerwebchick <webchick@24967.no-reply.drupal.org>2012-09-30 20:50:50 -0400
commitf9cb092cc33308522dace0d3177058a170128afb (patch)
treed9a1bd1188b17e42314ff69b7f126d7174c3bee9
parent13f16ae3423087824118e1e5c07f88396a85c8f7 (diff)
downloadbrdo-f9cb092cc33308522dace0d3177058a170128afb.tar.gz
brdo-f9cb092cc33308522dace0d3177058a170128afb.tar.bz2
Issue #1798302 by alippai: Fixed Remove unnecessary join.
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index d64e7827a..971c7c99d 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -3759,7 +3759,7 @@ function _system_date_formats_build() {
}
// Get custom formats added to the database by the end user.
- $result = db_query('SELECT df.dfid, df.format, df.type, df.locked, dfl.language FROM {date_formats} df LEFT JOIN {date_format_type} dft ON df.type = dft.type LEFT JOIN {date_format_locale} dfl ON df.format = dfl.format AND df.type = dfl.type ORDER BY df.type, df.format');
+ $result = db_query('SELECT df.dfid, df.format, df.type, df.locked, dfl.language FROM {date_formats} df LEFT JOIN {date_format_locale} dfl ON df.format = dfl.format AND df.type = dfl.type ORDER BY df.type, df.format');
foreach ($result as $record) {
// If this date type isn't set, initialise the array.
if (!isset($date_formats[$record->type])) {