aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/json.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 20:17:20 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-07-24 20:17:20 +0200
commita9077208174856bae2ce219f00a8c825d58130e1 (patch)
tree381cedeed0ba78bc2370ee1ad119f6eb1d43801d /lib/private/legacy/json.php
parent5dc480a38c3755330cda99915a54f72d46df4885 (diff)
downloadnextcloud-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.php2
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;
}
}