diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-07-04 12:46:06 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-07-04 12:46:06 +0200 |
commit | a706680fd59e7e5ef925a9ba5b7126906b796fd7 (patch) | |
tree | 20043abdbefbaccc34908d34e434521ca2253578 /libimagstore | |
parent | 31d5dac63dcf8063a87205b684cf6ba81593f5be (diff) |
Revert "Store::create() Make outgoing storeid object unstorified"
This reverts commit 41d7d1c213dc98a7962fe92bba1539706040309b.
Diffstat (limited to 'libimagstore')
-rw-r--r-- | libimagstore/src/store.rs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index b992ee6c..1d7a3931 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -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) } |