summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-17 13:16:57 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-17 13:16:57 +0000
commit3620310d7c8a5d487f7b6826a89f8a4816149333 (patch)
tree11f5a65c4c28ef56b2a610f5e045d16e07c88808 /modules/system
parent7d4a02a3d9f93d47ef6379a75490145a89ab41d8 (diff)
downloadbrdo-3620310d7c8a5d487f7b6826a89f8a4816149333.tar.gz
brdo-3620310d7c8a5d487f7b6826a89f8a4816149333.tar.bz2
- Patch #818206 by Berdir et al: apply coding standard for no-arg constructors.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc2
-rw-r--r--modules/system/system.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 52d425d5a..32490fee2 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -147,7 +147,7 @@ function system_admin_menu_block_page() {
function system_admin_by_module() {
$module_info = system_get_info('module');
foreach ($module_info as $module => $info) {
- $module_info[$module] = new StdClass();
+ $module_info[$module] = new stdClass();
$module_info[$module]->info = $info;
}
uasort($module_info, 'system_sort_modules_by_info_name');
diff --git a/modules/system/system.module b/modules/system/system.module
index 71d15a770..338d6ab8c 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -2225,7 +2225,7 @@ function _system_rebuild_module_data() {
// Include the install profile in modules that are loaded.
$profile = drupal_get_profile();
- $modules[$profile] = new stdClass;
+ $modules[$profile] = new stdClass();
$modules[$profile]->name = $profile;
$modules[$profile]->uri = 'profiles/' . $profile . '/' . $profile . '.profile';
$modules[$profile]->filename = $profile . '.profile';