diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-07 04:14:08 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-07-07 04:14:08 +0400 |
commit | 4f4b98eeb5eb322d7423f72fb78c80d18878313e (patch) | |
tree | 825d3a924b98be6263e2230a9dc69f4621fe6179 /plugins/Actions/Columns | |
parent | 76e11c5b11806bc9130b90424eb2254aa8b061e6 (diff) |
If a dimension only implements a getName() method it should extend Dimension and not VisitDimension which is more "correct" and improves performance since we do not have to check whether they are installed and whether they implement certain methods
Diffstat (limited to 'plugins/Actions/Columns')
-rw-r--r-- | plugins/Actions/Columns/DestinationPage.php | 4 | ||||
-rw-r--r-- | plugins/Actions/Columns/Keyword.php | 4 | ||||
-rw-r--r-- | plugins/Actions/Columns/KeywordwithNoSearchResult.php | 4 | ||||
-rw-r--r-- | plugins/Actions/Columns/SearchCategory.php | 4 | ||||
-rw-r--r-- | plugins/Actions/Columns/SearchDestinationPage.php | 4 | ||||
-rw-r--r-- | plugins/Actions/Columns/SearchNoResultKeyword.php | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Actions/Columns/DestinationPage.php b/plugins/Actions/Columns/DestinationPage.php index cfa647d61b..76ea3e3fae 100644 --- a/plugins/Actions/Columns/DestinationPage.php +++ b/plugins/Actions/Columns/DestinationPage.php @@ -8,10 +8,10 @@ */ namespace Piwik\Plugins\Actions\Columns; +use Piwik\Columns\Dimension; use Piwik\Piwik; -use Piwik\Plugin\Dimension\VisitDimension; -class DestinationPage extends VisitDimension +class DestinationPage extends Dimension { public function getName() { diff --git a/plugins/Actions/Columns/Keyword.php b/plugins/Actions/Columns/Keyword.php index 4ce164023b..71c93bd648 100644 --- a/plugins/Actions/Columns/Keyword.php +++ b/plugins/Actions/Columns/Keyword.php @@ -8,10 +8,10 @@ */ namespace Piwik\Plugins\Actions\Columns; +use Piwik\Columns\Dimension; use Piwik\Piwik; -use Piwik\Plugin\Dimension\VisitDimension; -class Keyword extends VisitDimension +class Keyword extends Dimension { public function getName() { diff --git a/plugins/Actions/Columns/KeywordwithNoSearchResult.php b/plugins/Actions/Columns/KeywordwithNoSearchResult.php index a46689366a..b7a19726a7 100644 --- a/plugins/Actions/Columns/KeywordwithNoSearchResult.php +++ b/plugins/Actions/Columns/KeywordwithNoSearchResult.php @@ -8,10 +8,10 @@ */ namespace Piwik\Plugins\Actions\Columns; +use Piwik\Columns\Dimension; use Piwik\Piwik; -use Piwik\Plugin\Dimension\VisitDimension; -class KeywordwithNoSearchResult extends VisitDimension +class KeywordwithNoSearchResult extends Dimension { public function getName() { diff --git a/plugins/Actions/Columns/SearchCategory.php b/plugins/Actions/Columns/SearchCategory.php index acc86b7475..7073c105fb 100644 --- a/plugins/Actions/Columns/SearchCategory.php +++ b/plugins/Actions/Columns/SearchCategory.php @@ -8,10 +8,10 @@ */ namespace Piwik\Plugins\Actions\Columns; +use Piwik\Columns\Dimension; use Piwik\Piwik; -use Piwik\Plugin\Dimension\VisitDimension; -class SearchCategory extends VisitDimension +class SearchCategory extends Dimension { public function getName() { diff --git a/plugins/Actions/Columns/SearchDestinationPage.php b/plugins/Actions/Columns/SearchDestinationPage.php index 599eed6abc..bf36621a9c 100644 --- a/plugins/Actions/Columns/SearchDestinationPage.php +++ b/plugins/Actions/Columns/SearchDestinationPage.php @@ -8,10 +8,10 @@ */ namespace Piwik\Plugins\Actions\Columns; +use Piwik\Columns\Dimension; use Piwik\Piwik; -use Piwik\Plugin\Dimension\VisitDimension; -class SearchDestinationPage extends VisitDimension +class SearchDestinationPage extends Dimension { public function getName() { diff --git a/plugins/Actions/Columns/SearchNoResultKeyword.php b/plugins/Actions/Columns/SearchNoResultKeyword.php index 8165ad1d4a..f4b57c6431 100644 --- a/plugins/Actions/Columns/SearchNoResultKeyword.php +++ b/plugins/Actions/Columns/SearchNoResultKeyword.php @@ -8,10 +8,10 @@ */ namespace Piwik\Plugins\Actions\Columns; +use Piwik\Columns\Dimension; use Piwik\Piwik; -use Piwik\Plugin\Dimension\VisitDimension; -class SearchNoResultKeyword extends VisitDimension +class SearchNoResultKeyword extends Dimension { public function getName() { |