diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-23 08:29:38 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-23 08:29:38 +0400 |
commit | 9fa70ba6d6c2b593c9b8f05aa049ccc9e7f6f9e9 (patch) | |
tree | 1f69ae461d2b6b4554fee06465603b455a57579e /plugins/UserSettings | |
parent | ba98b1a613680d1d834981f1d18d3807eca0f85d (diff) |
Add () when instantiating classes for consistency.
Diffstat (limited to 'plugins/UserSettings')
-rw-r--r-- | plugins/UserSettings/UserSettings.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/UserSettings/UserSettings.php b/plugins/UserSettings/UserSettings.php index cb68f6a81e..eacb1b3398 100644 --- a/plugins/UserSettings/UserSettings.php +++ b/plugins/UserSettings/UserSettings.php @@ -147,13 +147,13 @@ class Piwik_UserSettings extends Piwik_Plugin $name = Piwik_getScreenTypeFromResolution($resolution); if(!isset($nameToRow[$name])) { - $nameToRow[$name] = new Piwik_DataTable_Row; + $nameToRow[$name] = new Piwik_DataTable_Row(); $nameToRow[$name]->addColumn('label', $name); } $nameToRow[$name]->sumRow( $row ); } - $tableWideScreen = new Piwik_DataTable; + $tableWideScreen = new Piwik_DataTable(); $tableWideScreen->addRowsFromArray($nameToRow); return $tableWideScreen; @@ -168,13 +168,13 @@ class Piwik_UserSettings extends Piwik_Plugin $familyNameToUse = Piwik_getBrowserFamily($browserLabel); if(!isset($nameToRow[$familyNameToUse])) { - $nameToRow[$familyNameToUse] = new Piwik_DataTable_Row; + $nameToRow[$familyNameToUse] = new Piwik_DataTable_Row(); $nameToRow[$familyNameToUse]->addColumn('label',$familyNameToUse); } $nameToRow[$familyNameToUse]->sumRow( $row ); } - $tableBrowserType = new Piwik_DataTable; + $tableBrowserType = new Piwik_DataTable(); $tableBrowserType->addRowsFromArray($nameToRow); return $tableBrowserType; } |