mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:54:03 +00:00
Renamed method from isSyncEnabled to shouldSync
This commit is contained in:
parent
d34a6dcd7d
commit
a7a8a5f5e3
4 changed files with 6 additions and 6 deletions
|
|
@ -682,7 +682,7 @@ class CentralUser extends Model implements SyncMaster
|
|||
];
|
||||
}
|
||||
|
||||
public function isSyncEnabled()
|
||||
public function shouldSync()
|
||||
{
|
||||
return $this->role !== 'not_sync';
|
||||
}
|
||||
|
|
@ -720,7 +720,7 @@ class ResourceUser extends Model implements Syncable
|
|||
];
|
||||
}
|
||||
|
||||
public function isSyncEnabled()
|
||||
public function shouldSync()
|
||||
{
|
||||
return $this->role !== 'not_sync';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue