jenkins-bot has submitted this change and it was merged.

Change subject: Trim dblist entries
......................................................................


Trim dblist entries

Change-Id: Ic1da8768242e938c6df3ed94d5aa4d282a86ade5
---
M getPageCounts.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  MaxSem: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/getPageCounts.php b/getPageCounts.php
index 7828f74..c291903 100644
--- a/getPageCounts.php
+++ b/getPageCounts.php
@@ -72,7 +72,7 @@
                        $this->error( "Warning: can't read $fileName, no wikis 
will be blacklisted\n" );
                        return array();
                }
-               return file( $fileName );
+               return array_map( 'trim', file( $fileName ) );
        }
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/251669
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic1da8768242e938c6df3ed94d5aa4d282a86ade5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikimediaMaintenance
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: MaxSem <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to