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:
authormattab <matthieu.aubry@gmail.com>2013-10-09 15:03:12 +0400
committermattab <matthieu.aubry@gmail.com>2013-10-09 15:03:12 +0400
commit82695acc70e0c1552468a3624bf93727f3a0ca6d (patch)
tree5e0de35fd5d6fc2eff2f398520a9bea0a1218e24 /core/DataTable.php
parent597785599f72197c9dfe1d32251870881a90c46f (diff)
Refs #4202 Cleaning up the good old bridge classes
Diffstat (limited to 'core/DataTable.php')
-rw-r--r--core/DataTable.php14
1 files changed, 3 insertions, 11 deletions
diff --git a/core/DataTable.php b/core/DataTable.php
index 8bb6a93227..00170291d0 100644
--- a/core/DataTable.php
+++ b/core/DataTable.php
@@ -1097,6 +1097,8 @@ class DataTable
*/
public function addRowsFromSerializedArray($stringSerialized)
{
+ require_once PIWIK_INCLUDE_PATH . "/core/DataTable/Bridges.php";
+
$serialized = unserialize($stringSerialized);
if ($serialized === false) {
throw new Exception("The unserialization has failed!");
@@ -1508,14 +1510,4 @@ class DataTable
$result->addRowsFromSerializedArray($data);
return $result;
}
-}
-
-
-// Bridge for when serialized classes were not using namespaces yet (pre Piwik 2.0)
-class Piwik_DataTable_Row_DataTableSummary extends DataTableSummaryRow
-{
-}
-
-class Piwik_DataTable_Row extends Row
-{
-}
+} \ No newline at end of file