Revert "Store::create() Make outgoing storeid object unstorified"
This reverts commit 41d7d1c213
.
This commit is contained in:
parent
31d5dac63d
commit
a706680fd5
1 changed files with 4 additions and 7 deletions
|
@ -344,13 +344,10 @@ impl Store {
|
||||||
se
|
se
|
||||||
});
|
});
|
||||||
|
|
||||||
id.unstorified(self)
|
let mut fle = FileLockEntry::new(self, Entry::new(id));
|
||||||
.and_then(|id| {
|
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
|
||||||
let mut fle = FileLockEntry::new(self, Entry::new(id));
|
.map_err_into(SEK::PostHookExecuteError)
|
||||||
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
|
.map(|_| fle)
|
||||||
.map_err_into(SEK::PostHookExecuteError)
|
|
||||||
.map(|_| fle)
|
|
||||||
})
|
|
||||||
.map_err_into(SEK::CreateCallError)
|
.map_err_into(SEK::CreateCallError)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue