summaryrefslogtreecommitdiffstats
path: root/src/server/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events')
-rw-r--r--src/server/events/Delete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Delete.cpp b/src/server/events/Delete.cpp
index b19ffd18..6153540e 100644
--- a/src/server/events/Delete.cpp
+++ b/src/server/events/Delete.cpp
@@ -167,10 +167,10 @@ Delete::undo(Interface& target)
{
auto i = _removed_objects.find(_path);
if (i != _removed_objects.end()) {
- target.put(_uri, i->second->properties());
if (_disconnect_event) {
_disconnect_event->undo(target);
}
+ target.put(_uri, i->second->properties());
}
}