|
@@ 100-107 (lines=8) @@
|
| 97 |
|
// if no applicable were set, raise a signal for "all" |
| 98 |
|
$oldApplicableUsers = $oldStorage->getApplicableUsers(); |
| 99 |
|
$oldApplicableGroups = $oldStorage->getApplicableGroups(); |
| 100 |
|
if (empty($oldApplicableUsers) && empty($oldApplicableGroups)) { |
| 101 |
|
$this->triggerApplicableHooks( |
| 102 |
|
Filesystem::signal_delete_mount, |
| 103 |
|
$oldStorage->getMountPoint(), |
| 104 |
|
IStorageConfig::MOUNT_TYPE_USER, |
| 105 |
|
['all'] |
| 106 |
|
); |
| 107 |
|
} |
| 108 |
|
|
| 109 |
|
// trigger delete for removed users |
| 110 |
|
$this->triggerApplicableHooks( |
|
@@ 145-152 (lines=8) @@
|
| 142 |
|
// if no applicable, raise a signal for "all" |
| 143 |
|
$newApplicableUsers = $newStorage->getApplicableUsers(); |
| 144 |
|
$newApplicableGroups = $newStorage->getApplicableGroups(); |
| 145 |
|
if (empty($newApplicableUsers) && empty($newApplicableGroups)) { |
| 146 |
|
$this->triggerApplicableHooks( |
| 147 |
|
Filesystem::signal_create_mount, |
| 148 |
|
$newStorage->getMountPoint(), |
| 149 |
|
IStorageConfig::MOUNT_TYPE_USER, |
| 150 |
|
['all'] |
| 151 |
|
); |
| 152 |
|
} |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
/** |