Some general cleaning up.

This commit is contained in:
James Cole
2015-04-07 18:25:21 +02:00
parent 1932bf277a
commit bf354275b3
10 changed files with 50 additions and 24 deletions

View File

@@ -509,7 +509,6 @@ class AccountRepository implements AccountRepositoryInterface
protected function updateMetadata(Account $account, array $data)
{
$validFields = ['accountRole', 'ccMonthlyPaymentDate', 'ccType'];
$updated = false;
foreach ($validFields as $field) {
$entry = $account->accountMeta()->where('name', $field)->first();