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
path: root/core
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-03-11 14:31:07 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-11 14:31:07 +0300
commita1388b84ba44fb67b21b735ffe3b38060c0e94f9 (patch)
tree83ce5c30f2816be5d0ec380f91d56885d367f17c /core
parent070135f195694a52552d3bafb687c7fcf7f6988c (diff)
Refactor AttributeHistoricalDataWithLocations for clarity, fixing IntegrationTestCase issue and fixing changes to RawLog...
Diffstat (limited to 'core')
-rw-r--r--core/DataAccess/RawLogFetcher.php2
-rw-r--r--core/DataAccess/RawLogUpdater.php10
2 files changed, 5 insertions, 7 deletions
diff --git a/core/DataAccess/RawLogFetcher.php b/core/DataAccess/RawLogFetcher.php
index ec1f7d14ce..0a867e24a3 100644
--- a/core/DataAccess/RawLogFetcher.php
+++ b/core/DataAccess/RawLogFetcher.php
@@ -22,7 +22,7 @@ class RawLogFetcher
* @param array $fields
* @param int $fromId
* @param int $limit
- * @return array
+ * @return array[]
*/
public function getVisitsWithDatesLimit($from, $to, $fields = array(), $fromId = 0, $limit = 1000)
{
diff --git a/core/DataAccess/RawLogUpdater.php b/core/DataAccess/RawLogUpdater.php
index 7d54fbbfe2..a19ce52e94 100644
--- a/core/DataAccess/RawLogUpdater.php
+++ b/core/DataAccess/RawLogUpdater.php
@@ -21,7 +21,7 @@ class RawLogUpdater
{
$sql = "UPDATE " . Common::prefixTable('log_visit')
. " SET " . $this->getColumnSetExpressions(array_keys($values))
- . "WHERE idvisit = ?";
+ . " WHERE idvisit = ?";
$this->update($sql, $values, $idVisit);
}
@@ -32,11 +32,9 @@ class RawLogUpdater
*/
public function updateConversions(array $values, $idVisit)
{
- $sql = array(
- "UPDATE " . Common::prefixTable('log_conversion'),
- "SET " . $this->getColumnSetExpressions(array_keys($values)),
- "WHERE idvisit = ?"
- );
+ $sql = "UPDATE " . Common::prefixTable('log_conversion')
+ . " SET " . $this->getColumnSetExpressions(array_keys($values))
+ . " WHERE idvisit = ?";
$this->update($sql, $values, $idVisit);
}