From 3b7f548b0f17e757810de97b2d098835fccd791b Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 27 Sep 2016 18:45:05 +0200 Subject: Remove unused and undefined use statement Signed-off-by: Lukas Reschke --- core/Command/Upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Command/Upgrade.php') diff --git a/core/Command/Upgrade.php b/core/Command/Upgrade.php index 9a99473f8fe..d9f26d5ac8d 100644 --- a/core/Command/Upgrade.php +++ b/core/Command/Upgrade.php @@ -204,7 +204,7 @@ class Upgrade extends Command { $output->writeln('Maintenance mode is kept active'); }); $updater->listen('\OC\Updater', 'updateEnd', - function ($success) use($output, $updateStepEnabled, $self) { + function ($success) use($output, $self) { if ($success) { $message = "Update successful"; } else { -- cgit v1.2.3