Skip to content

Commit

Permalink
New event "afterCreateCollection" like "afterCreateFile"
Browse files Browse the repository at this point in the history
  • Loading branch information
woutersamaey authored and phil-davis committed Nov 16, 2021
1 parent 20d39d0 commit 1e9fdea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/DAV/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,7 @@ public function createCollection($uri, MkCol $mkCol)

$this->tree->markDirty($parentUri);
$this->emit('afterBind', [$uri]);
$this->emit('afterCreateCollection', [$uri]);
}

/**
Expand Down

0 comments on commit 1e9fdea

Please sign in to comment.