1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Removing is_migrating

This commit is contained in:
= 2020-11-01 14:21:39 +11:00
parent dfb55dbd8b
commit e4b326c423
2 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,7 @@ class WebhookHandler implements ShouldQueue
*/
public function handle() :bool
{
if (! $this->entity->company || $this->entity->company->company_users->first()->is_migrating == true) {
if (! $this->entity->company || $this->entity->company->is_disabled) {
return true;
}

View File

@ -89,7 +89,6 @@ class UserRepository extends BaseRepository
$cu->fill($data['company_user']);
$cu->restore();
$cu->tokens()->restore();
$cu->is_migrating = true;
$cu->save();
}