GitInfo: Don't try shelling out if it's disabled
[lhc/web/wiklou.git] / includes / MergeHistory.php
index 0e9bb46..4c655eb 100644 (file)
@@ -167,7 +167,7 @@ class MergeHistory {
                // Convert into a Status object
                if ( $errors ) {
                        foreach ( $errors as $error ) {
-                               call_user_func_array( [ $status, 'fatal' ], $error );
+                               $status->fatal( ...$error );
                        }
                }