diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.admin.inc | 4 | ||||
-rw-r--r-- | modules/system/system.api.php | 4 | ||||
-rw-r--r-- | modules/system/system.module | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 7b860c124..63612fe12 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1839,7 +1839,7 @@ function system_file_system_settings() { ); // Any visible, writeable wrapper can potentially be used for the files // directory, including a remote file system that integrates with a CDN. - foreach(file_get_stream_wrappers(STREAM_WRAPPERS_WRITE_VISIBLE) as $scheme => $info) { + foreach (file_get_stream_wrappers(STREAM_WRAPPERS_WRITE_VISIBLE) as $scheme => $info) { $options[$scheme] = check_plain($info['description']); } @@ -2719,7 +2719,7 @@ function theme_system_themes_page($variables) { // Start new theme group. $output .= '<div class="system-themes-list system-themes-list-'. $state .' clearfix"><h2>'. $title .'</h2>'; - foreach($theme_groups[$state] as $theme) { + foreach ($theme_groups[$state] as $theme) { // Theme the screenshot. $screenshot = $theme->screenshot ? theme('image', $theme->screenshot) : '<div class="no-screenshot">' . t('no screenshot') . '</div>'; diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 3fc5bbfe2..e349cb3ca 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -3294,7 +3294,7 @@ function hook_drupal_goto_alter(&$path, &$options, &$http_response_code) { * array will be the most likely target for changes. */ function hook_html_head_alter(&$head_elements) { - foreach($head_elements as $key => $element) { + foreach ($head_elements as $key => $element) { if (isset($element['#attributes']['rel']) && $element['#attributes']['rel'] == 'canonical') { // I want a custom canonical url. $head_elements[$key]['#attributes']['href'] = mymodule_canonical_url(); @@ -3662,7 +3662,7 @@ function hook_page_delivery_callback_alter(&$callback) { */ function hook_system_themes_page_alter(&$theme_groups) { foreach ($theme_groups as $state => &$group) { - foreach($theme_groups[$state] as &$theme) { + foreach ($theme_groups[$state] as &$theme) { // Add a foo link to each list of theme operations. $theme->operations[] = l(t('Foo'), 'admin/appearance/foo', array('query' => array('theme' => $theme->name))); } diff --git a/modules/system/system.module b/modules/system/system.module index 22e270383..32e6e3859 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -2209,7 +2209,7 @@ function system_update_files_database(&$files, $type) { // All remaining files are not in the system table, so we need to add them. $query = db_insert('system')->fields(array('filename', 'name', 'type', 'owner', 'info')); - foreach($files as &$file) { + foreach ($files as &$file) { if (isset($file->exists)) { unset($file->exists); } |