X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=maintenance%2FgenerateSitemap.php;h=1930a22a13ce963bf5627ca88557f10ffc5dc704;hb=b65bbc2e7d9af826e94036480f7bef64e6c2b0dd;hp=c43851e6f2ac5edc1d424c37e2d9615643707b33;hpb=67c63613de88d4919d232118e18fd91424697a0d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/generateSitemap.php b/maintenance/generateSitemap.php index c43851e6f2..1930a22a13 100644 --- a/maintenance/generateSitemap.php +++ b/maintenance/generateSitemap.php @@ -244,9 +244,6 @@ class GenerateSitemap extends Maintenance { * @return null|string */ private static function init_path( $fspath ) { - if ( !isset( $fspath ) ) { - return null; - } # Create directory if needed if ( $fspath && !is_dir( $fspath ) ) { wfMkdirParents( $fspath, null, __METHOD__ ) or die( "Can not create directory $fspath.\n" );