apps/files_external/lib/Service/UserStoragesService.php
/**
	 * Triggers signal_create_mount or signal_delete_mount to
	 * accommodate for additions/deletions in applicableUsers
	 * and applicableGroups fields.
	 *
	 * @param StorageConfig $oldStorage old storage data
	 * @param StorageConfig $newStorage new storage data
	 */
Triggers signal_create_mount or signal_delete_mount to
accommodate for additions/deletions in applicableUsers
and applicableGroups fields.

@param StorageConfig $oldStorage old storage data
@param StorageConfig $newStorage new storage data
Triggers signal_create_mount or signal_delete_mount to accommodate for additions / deletions in applicableUsers and applicableGroups fields . @param StorageConfig $oldStorage old storage data @param StorageConfig $newStorage new storage data
protected function triggerChangeHooks(StorageConfig $oldStorage, StorageConfig $newStorage) {
		if ($oldStorage->getMountPoint() !== $newStorage->getMountPoint()) {
			$this->triggerHooks($oldStorage, Filesystem::signal_delete_mount);
			$this->triggerHooks($newStorage, Filesystem::signal_create_mount);
		}
	}
protected function triggerChangeHooks ( StorageConfig $ oldStorage , StorageConfig $ newStorage ) { if ( $ oldStorage -> getMountPoint ( ) !== $ newStorage -> getMountPoint ( ) ) { $ this -> triggerHooks ( $ oldStorage , Filesystem :: signal_delete_mount ) ; $ this -> triggerHooks ( $ newStorage , Filesystem :: signal_create_mount ) ; } }
Triggers signal_create_mount or signal_delete_mount to
 accommodate for additions/deletions in applicableUsers
 and applicableGroups fields.
Triggers signal_create_mount or signal_delete_mount to accommodate for additions / deletions in applicableUsers and applicableGroups fields .
// if mount point changed, it's like a deletion + creation