mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 23:24:37 -04: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
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,7 +89,6 @@ class UserRepository extends BaseRepository
|
|||||||
$cu->fill($data['company_user']);
|
$cu->fill($data['company_user']);
|
||||||
$cu->restore();
|
$cu->restore();
|
||||||
$cu->tokens()->restore();
|
$cu->tokens()->restore();
|
||||||
$cu->is_migrating = true;
|
|
||||||
$cu->save();
|
$cu->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user