Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-03-01 17:24:51 +0300
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-03-01 17:24:51 +0300
commit40391022a2e51a0a01b945cea4e259751123eb52 (patch)
tree11ba3fdb5384004d006f09da3fb92d86e2b22774 /plugins/Live
parentbc760688c6c4b83ebb0b486fcd8c2e58f482a732 (diff)
fixes #1182 - coding style changes
Diffstat (limited to 'plugins/Live')
-rw-r--r--plugins/Live/Visitor.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php
index a90ba8f94a..388913e420 100644
--- a/plugins/Live/Visitor.php
+++ b/plugins/Live/Visitor.php
@@ -305,15 +305,13 @@ class Piwik_Live_Visitor
if(isset($this->details['match_attribute'])){
return $this->details['match_attribute'];
}
- else {
- return false;
- }
+ return false;
}
function getGoalIcon()
{
- $goalicon = "";
if(isset($this->details['match_attribute'])){
+ $goalicon = "";
switch ($this->details['match_attribute']) {
case "url":
$goalicon = "plugins/Live/templates/images/goal.png";
@@ -327,9 +325,6 @@ class Piwik_Live_Visitor
}
return $goalicon;
}
- else {
- return false;
- }
+ return false;
}
-
}