diff options
Diffstat (limited to 'plugins/MobileMessaging/API.php')
-rw-r--r-- | plugins/MobileMessaging/API.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MobileMessaging/API.php b/plugins/MobileMessaging/API.php index c8268c76a7..aaf30e6a64 100644 --- a/plugins/MobileMessaging/API.php +++ b/plugins/MobileMessaging/API.php @@ -365,7 +365,7 @@ class API extends \Piwik\Plugin\API { Option::set( $user . MobileMessaging::USER_SETTINGS_POSTFIX_OPTION, - Common::json_encode($settings) + json_encode($settings) ); } @@ -392,7 +392,7 @@ class API extends \Piwik\Plugin\API if (empty($userSettings)) { $userSettings = array(); } else { - $userSettings = Common::json_decode($userSettings, true); + $userSettings = json_decode($userSettings, true); } return $userSettings; |