diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-14 06:45:35 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-14 06:45:35 +0300 |
commit | a91388d2b1b3c60733ce19f35a4675a1ba6467df (patch) | |
tree | 77256a0a24b6085541d73ba19f277fe88a7d0866 /plugins/Dashboard/Dashboard.php | |
parent | c7295c121b94489edf2800c6b220ee86e7b4c496 (diff) |
Replaced usage of deprecated Common::json_encode to json_encode
Diffstat (limited to 'plugins/Dashboard/Dashboard.php')
-rw-r--r-- | plugins/Dashboard/Dashboard.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dashboard/Dashboard.php b/plugins/Dashboard/Dashboard.php index 1ff5a98182..a0a12985c3 100644 --- a/plugins/Dashboard/Dashboard.php +++ b/plugins/Dashboard/Dashboard.php @@ -193,12 +193,12 @@ class Dashboard extends \Piwik\Plugin $layout = str_replace("\\\"", "\"", $layout); $layout = str_replace("\n", "", $layout); - return Common::json_decode($layout, $assoc = false); + return json_decode($layout, $assoc = false); } public function encodeLayout($layout) { - return Common::json_encode($layout); + return json_encode($layout); } public function getJsFiles(&$jsFiles) |