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:
parent
dfb55dbd8b
commit
e4b326c423
@ -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;
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,6 @@ class UserRepository extends BaseRepository
|
||||
$cu->fill($data['company_user']);
|
||||
$cu->restore();
|
||||
$cu->tokens()->restore();
|
||||
$cu->is_migrating = true;
|
||||
$cu->save();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user