mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-29 02:11:12 -06:00
Encrypt more stuff in the cleanup routine [skip ci]
This commit is contained in:
parent
b8275b4734
commit
8a867e71a1
@ -229,7 +229,17 @@ class Cleanup
|
||||
}
|
||||
unset($set, $entry, $amount);
|
||||
|
||||
//encrypt piggy bank targetamount
|
||||
// encrypt piggy bank targetamount
|
||||
$set = PiggyBank::whereNull('targetamount_encrypted')->take(5)->get();
|
||||
/** @var PiggyBank $entry */
|
||||
foreach ($set as $entry) {
|
||||
$count++;
|
||||
$amount = $entry->targetamount;
|
||||
$entry->targetamount = $amount;
|
||||
$entry->save();
|
||||
}
|
||||
unset($set, $entry, $amount);
|
||||
|
||||
//encrypt preference name (add field)
|
||||
//encrypt preference data (add field)
|
||||
//encrypt transaction amount
|
||||
|
Loading…
Reference in New Issue
Block a user