Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove commented debug code/var_dumps in plugins/

  • Loading branch information...
commit f7cdf84f4d3efc8b7738eb2be4dd192d3bc56c20 1 parent 3391540
@halfdan halfdan authored
View
2  plugins/Actions/Archiving.php
@@ -469,8 +469,6 @@ protected function archiveDayQueryProcess($select, $from, $where, $orderBy, $gro
{
$querySql = $rankingQuery->generateQuery($querySql);
}
-// echo '<pre>';var_dump($querySql);
-// var_dump($bind);
// get result
$resultSet = $archiveProcessing->db->query($querySql, $bind);
View
1  plugins/Actions/ArchivingHelper.php
@@ -32,7 +32,6 @@ static public function updateActionsTableWithRowQuery($query, $fieldQueried, & $
$rowsProcessed = 0;
while( $row = $query->fetch() )
{
-// var_dump($row);
if(empty($row['idaction']))
{
$row['type'] = ($fieldQueried == 'idaction_url' ? Piwik_Tracker_Action::TYPE_ACTION_URL : Piwik_Tracker_Action::TYPE_ACTION_NAME);
View
2  plugins/CoreAdminHome/API.php
@@ -178,7 +178,6 @@ public function invalidateArchivedReports($idSites, $dates)
" WHERE ( $sql ) ".
" AND idsite IN (". $sqlIdSites .")";
Piwik_Query($query, $bind);
-// var_dump($query);var_dump($bind);
}
// Update piwik_site.ts_created
@@ -189,7 +188,6 @@ public function invalidateArchivedReports($idSites, $dates)
$minDateSql = $minDate->subDay(1)->getDatetime();
$bind = array($minDateSql,$minDateSql);
Piwik_Query($query, $bind);
-// var_dump($query);var_dump($bind);
// Force to re-process data for these websites in the next archive.php cron run
$invalidatedIdSites = Piwik_CoreAdminHome_API::getWebsiteIdsToInvalidate();
View
3  plugins/CustomVariables/CustomVariables.php
@@ -292,9 +292,6 @@ protected function archiveDayAggregate(Piwik_ArchiveProcessing_Day $archiveProce
}
$archiveProcessing->enrichConversionsByLabelArray($this->interestByCustomVariables);
$archiveProcessing->enrichConversionsByLabelArrayHasTwoLevels($this->interestByCustomVariablesAndValue);
-
- // var_dump($this->interestByCustomVariables);
- //var_dump($this->interestByCustomVariablesAndValue);
}
protected function cleanCustomVarValue($value)
View
5 plugins/Live/API.php
@@ -511,7 +511,7 @@ private function loadLastVisitorDetailsFromDatabase($idSite, $period = false, $d
) AS sub
GROUP BY sub.idvisit
ORDER BY $orderByParent
- ";
+ ";
try {
$data = Piwik_FetchAll($sql, $subQuery['bind']);
@@ -519,11 +519,8 @@ private function loadLastVisitorDetailsFromDatabase($idSite, $period = false, $d
echo $e->getMessage();exit;
}
-//var_dump($whereBind); echo($sql);
-//var_dump($data);
return $data;
}
-
/**
* Removes fields that are not meant to be displayed (md5 config hash)
View
12 plugins/VisitorGenerator/Controller.php
@@ -150,20 +150,8 @@ private function generateVisits($time = false, $idSite = 1)
if($output = Piwik_Http::sendHttpRequest($url, $timeout = 5, $ua, $path = null, $follow = 0, $acceptLanguage))
{
-// var_dump($output);
$count++;
}
-
-// echo "IP=". $ip; echo "<br>";
-// echo "Date=". $datetime; echo "<br>";
-// echo "URL=". $url; echo "<br>";
-// echo "Referrer=". $referrer; echo "<br>";
-// echo "UserAgent=". $ua; echo "<br>";
-// echo "<hr>";
-// var_dump($url);
- if($count==2) {
-// return $count;
- }
}
return $count;
}
Please sign in to comment.
Something went wrong with that request. Please try again.