Merge "Follow-up 1c57794e371: change 'nobools' to 'nobool' in docs"
[lhc/web/wiklou.git] / includes / api / ApiResult.php
index 28512f4..490b831 100644 (file)
@@ -1450,7 +1450,7 @@ class ApiResult implements ApiSerializable {
         * @todo: Remove after updating callers to use self::stripMetadataNonRecursive
         */
        public static function removeMetadataNonRecursive( $data, &$metadata = null ) {
-               self::stripMetadataNonRecursive( $data, $metadata );
+               return self::stripMetadataNonRecursive( $data, $metadata );
        }
 
        /**