From 3fc713d455df7e008416b622d3cd487418078de6 Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Wed, 12 Sep 2018 13:31:59 +0200 Subject: [PATCH] Fix --user option in DeleteLocalPasswords Bug: T201009 Change-Id: I69c14741f578b59cd73e5c8c5576f8c250825a30 --- maintenance/includes/DeleteLocalPasswords.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/includes/DeleteLocalPasswords.php b/maintenance/includes/DeleteLocalPasswords.php index e3f8926969..bfbbcdcd7e 100644 --- a/maintenance/includes/DeleteLocalPasswords.php +++ b/maintenance/includes/DeleteLocalPasswords.php @@ -157,7 +157,7 @@ ERROR protected function getUserBatches() { if ( !is_null( $this->user ) ) { $this->output( "\t ... querying '$this->user'\n" ); - yield [ $this->user ]; + yield [ [ $this->user ] ]; return; } -- 2.20.1