Skip to content

Commit

Permalink
Remove doPostOutputShutdown, refs 3690 (#3771)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
mwjames committed Mar 9, 2019
1 parent a734f62 commit 5748437
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/GlobalFunctions.php
Expand Up @@ -108,12 +108,6 @@ function smwfAbort( $text, $title = 'Error', $type = 'error' ) {
$html .= "<title>{$title}</title><div style='float:right;'>$indicator</div></head><body><h2>{$title}</h2>$hr";
$html .= "<p>{$text}</p></body></html>";

// MW 1.26
// Manages deferred updates, job insertion, final commit, and the logging of
// profiling data
$mediaWiki = new \MediaWiki();
$mediaWiki->doPostOutputShutdown( 'fast' );

die( $html );
}

Expand Down

0 comments on commit 5748437

Please sign in to comment.