Merge "Update ApiAction logging channel values"
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index e9d6316..6112cac 100644 (file)
@@ -919,7 +919,7 @@ class ApiMain extends ApiBase {
                if ( $this->getConfig()->get( 'ShowHostnames' ) ) {
                        $servedby = $this->getParameter( 'servedby' );
                        if ( $servedby ) {
-                               $result->addValue( null, 'servedby', wfHostName() );
+                               $result->addValue( null, 'servedby', wfHostname() );
                        }
                }