X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=thumb.php;h=051c39ea9dcc590fabc4443c3829c71215af69f9;hb=f138447de154a7f6a3a872e2890bde9bf213d26c;hp=2079a64766973fc13f1c9a47afaf2c96c3fc6cfe;hpb=b46010866c35ee605bcc298ea75b12dcd0405033;p=lhc%2Fweb%2Fwiklou.git diff --git a/thumb.php b/thumb.php index 2079a64766..051c39ea9d 100644 --- a/thumb.php +++ b/thumb.php @@ -35,11 +35,8 @@ if ( defined( 'THUMB_HANDLER' ) ) { wfStreamThumb( $_GET ); } -wfLogProfilingData(); -// Commit and close up! -$factory = wfGetLBFactory(); -$factory->commitMasterChanges(); -$factory->shutdown(); +$mediawiki = new MediaWiki(); +$mediawiki->doPostOutputShutdown( 'fast' ); //--------------------------------------------------------------------------