From: Jakub Vrana Date: Sun, 2 Dec 2018 18:21:44 +0000 (+0100) Subject: Delete unused variable X-Git-Tag: 1.34.0-rc.0~3358^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=7f67fa7fc7ab71f667a6712498a975c651ce7b88;p=lhc%2Fweb%2Fwiklou.git Delete unused variable Found by PHPStan. Change-Id: I416069e4199e1cd3cf7a98a32cc1cb09c1525093 --- diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index 513e7a96b8..ef61ac5b33 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -378,7 +378,6 @@ class SpecialExport extends SpecialPage { } /* Ok, let's get to it... */ - $lb = false; $db = wfGetDB( DB_REPLICA ); $exporter = new WikiExporter( $db, $history ); @@ -406,10 +405,6 @@ class SpecialExport extends SpecialPage { } $exporter->closeStream(); - - if ( $lb ) { - $lb->closeAll(); - } } /**