more (bug 20336)
[lhc/web/wiklou.git] / includes / HttpFunctions.php
index 8f15d19..51c142f 100644 (file)
@@ -206,7 +206,7 @@ class Http {
                $sd =& $_SESSION['wsDownload'][$upload_session_key];
                // if error update status:
                if( !$status->isOK() ) {
-                       $sd['apiUploadResult'] = ApiFormatJson::getJsonEncode(
+                       $sd['apiUploadResult'] = FormatJson::encode(
                                array( 'error' => $status->getWikiText() )
                        );
                }