summaryrefslogtreecommitdiffstats
path: root/libimagstore
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-07-04 12:46:06 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-07-04 12:46:06 +0200
commita706680fd59e7e5ef925a9ba5b7126906b796fd7 (patch)
tree20043abdbefbaccc34908d34e434521ca2253578 /libimagstore
parent31d5dac63dcf8063a87205b684cf6ba81593f5be (diff)
Revert "Store::create() Make outgoing storeid object unstorified"
Diffstat (limited to 'libimagstore')
-rw-r--r--libimagstore/src/store.rs11
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)
}