Organisation registration process implemented with configurable approval workflow
This commit is contained in:
1 parent
fade1f8441
commit
b64b4d72f9
23 files changed
+1453
-7
No files matched your search
@@ -151,6 +151,9 @@ class Organisation extends Model implements OrganisationInterface
|
||||
if ($hardDelete) {
|
||||
static::$ci->get('organisation.beforeDelete')($this);
|
||||
|
||||
// Remove all organisation tokens
|
||||
$classMapper->getClassMapping('organisation_approval')::where('organisation_id', $this->id)->delete();
|
||||
|
||||
// Remove all member associations
|
||||
$this->members()->detach();
|
||||
|
||||
|
||||
Reference in new issue
Block a user