This commit is contained in:
James Cole
2020-12-30 11:53:00 +01:00
parent 02237d9efe
commit 9325b628fd
4 changed files with 19 additions and 28 deletions

View File

@@ -108,9 +108,6 @@ class AccountUpdateService
*/
private function updateLocation(Account $account, array $data): void {
$updateLocation = $data['update_location'] ?? false;
// location must be updated?
if (true === $updateLocation) {
// if all set to NULL, delete