mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 22:26:46 +02:00
feat(entries): fix issue with delete method #465
This commit is contained in:
@@ -299,7 +299,7 @@ class Entries
|
||||
public function delete(string $id) : bool
|
||||
{
|
||||
// Run event: onEntryDelete
|
||||
flextype('emmiter')->emit('onEntryDelete');
|
||||
flextype('emitter')->emit('onEntryDelete');
|
||||
|
||||
return Filesystem::deleteDir($this->getDirLocation($id));
|
||||
}
|
||||
|
Reference in New Issue
Block a user