Revert "Store::create() Make outgoing storeid object unstorified"

This reverts commit 41d7d1c213.
This commit is contained in:
Matthias Beyer 2016-07-04 12:46:06 +02:00
parent 31d5dac63d
commit a706680fd5

View file

@ -344,13 +344,10 @@ impl Store {
se
});
id.unstorified(self)
.and_then(|id| {
let mut fle = FileLockEntry::new(self, Entry::new(id));
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
.map_err_into(SEK::PostHookExecuteError)
.map(|_| fle)
})
let mut fle = FileLockEntry::new(self, Entry::new(id));
self.execute_hooks_for_mut_file(self.post_create_aspects.clone(), &mut fle)
.map_err_into(SEK::PostHookExecuteError)
.map(|_| fle)
.map_err_into(SEK::CreateCallError)
}