From d4f8c41d80f5a5c7c3887a8f9ec628262f385c6d Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 24 Aug 2016 19:36:09 +0200 Subject: [PATCH] This should fix a bug in the verification routine. Signed-off-by: James Cole --- app/Console/Commands/VerifyDatabase.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Console/Commands/VerifyDatabase.php b/app/Console/Commands/VerifyDatabase.php index 2842a14165..4cd64ec5af 100644 --- a/app/Console/Commands/VerifyDatabase.php +++ b/app/Console/Commands/VerifyDatabase.php @@ -100,12 +100,7 @@ class VerifyDatabase extends Command /** @var stdClass $entry */ foreach ($set as $entry) { - - $isEncrypted = intval($entry->encrypted) === 1; - $name = $entry->name; - if ($isEncrypted) { - $name = Crypt::decrypt($entry->name); - } + $name = $entry->name; $line = 'User #%d (%s) has account #%d ("%s") which has no transactions.'; $line = sprintf($line, $entry->user_id, $entry->email, $entry->id, $name); $this->line($line);