viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Add namespace to getLocaleObject in SystemComponent, a=chris

Chris Pollett [2015-07-01 18:Jul:st]
Add namespace to getLocaleObject in SystemComponent, a=chris
Filename
controllers/components/SystemComponent.php
diff --git a/controllers/components/SystemComponent.php b/controllers/components/SystemComponent.php
index 584863a93..447324197 100755
--- a/controllers/components/SystemComponent.php
+++ b/controllers/components/SystemComponent.php
@@ -762,7 +762,7 @@ EOD;
         if (isset($_REQUEST['lang']) && $_REQUEST['lang']) {
             $data['lang'] = $parent->clean($_REQUEST['lang'], "string");
             $profile['DEFAULT_LOCALE'] = $data['lang'];
-            setLocaleObject($data['lang']);
+            L\setLocaleObject($data['lang']);
         }

         $data["ELEMENT"] = "configure";
ViewGit