Skip to content

Commit

Permalink
Trigger expected FS events
Browse files Browse the repository at this point in the history
  • Loading branch information
timkelty committed Mar 20, 2024
1 parent 665881c commit b0135a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/services/Fs.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ public function saveFilesystem(FsInterface $fs, bool $runValidation = true): boo
}
}

$fs->afterSave($isNewFs);

// Clear caches
$this->_filesystems = null;

Expand Down Expand Up @@ -252,6 +254,8 @@ public function removeFilesystem(FsInterface $fs): bool
// Clear caches
$this->_filesystems = null;

$fs->afterDelete();

return true;
}
}

0 comments on commit b0135a0

Please sign in to comment.