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)
|
|
||||||
.and_then(|id| {
|
|
||||||
let mut fle = FileLockEntry::new(self, Entry::new(id));
|
let mut fle = FileLockEntry::new(self, Entry::new(id));
|
||||||
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
|
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
|
||||||
.map_err_into(SEK::PostHookExecuteError)
|
.map_err_into(SEK::PostHookExecuteError)
|
||||||
.map(|_| fle)
|
.map(|_| fle)
|
||||||
})
|
|
||||||
.map_err_into(SEK::CreateCallError)
|
.map_err_into(SEK::CreateCallError)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue