mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-08 02:38:09 +00:00
Code cleaning stuff.
This commit is contained in:
@@ -113,7 +113,7 @@ class DecryptDatabase extends Command
|
||||
$configName = sprintf('is_decrypted_%s', $table);
|
||||
$configVar = FireflyConfig::get($configName, false);
|
||||
if (null !== $configVar) {
|
||||
return $configVar->data;
|
||||
return (bool)$configVar->data;
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -130,7 +130,7 @@ class DecryptDatabase extends Command
|
||||
try {
|
||||
$value = Crypt::decrypt($value);
|
||||
} catch (DecryptException $e) {
|
||||
//Log::debug(sprintf('Could not decrypt. %s', $e->getMessage()));
|
||||
Log::debug(sprintf('Could not decrypt. %s', $e->getMessage()));
|
||||
}
|
||||
|
||||
return $value;
|
||||
|
||||
Reference in New Issue
Block a user