diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 20:17:20 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-07-24 20:17:20 +0200 |
commit | a9077208174856bae2ce219f00a8c825d58130e1 (patch) | |
tree | 381cedeed0ba78bc2370ee1ad119f6eb1d43801d /lib/private/legacy/json.php | |
parent | 5dc480a38c3755330cda99915a54f72d46df4885 (diff) | |
download | nextcloud-server-a9077208174856bae2ce219f00a8c825d58130e1.tar.gz nextcloud-server-a9077208174856bae2ce219f00a8c825d58130e1.zip |
Move \OC_L10N_String to proper \OC\L10N\L10NString
* Proper namespacing
* Fixed phpdocs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/legacy/json.php')
-rw-r--r-- | lib/private/legacy/json.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/json.php b/lib/private/legacy/json.php index 0e598a68ee1..9b90daccac9 100644 --- a/lib/private/legacy/json.php +++ b/lib/private/legacy/json.php @@ -159,7 +159,7 @@ class OC_JSON{ * Convert OC_L10N_String to string, for use in json encodings */ protected static function to_string(&$value) { - if ($value instanceof OC_L10N_String) { + if ($value instanceof \OC\L10N\L10NString) { $value = (string)$value; } } |