Recovering changes after GT malfunction and image restarting.
This commit is contained in:
parent
062a0ac309
commit
69941fbcfb
@ -1,8 +1,11 @@
|
||||
accessing
|
||||
storeContents
|
||||
|
||||
| objectString directory tempFile oldFile |
|
||||
objectString := STON toStringPretty: self.
|
||||
| objectString directory tempFile oldFile dehidratated |
|
||||
|
||||
dehidratated := self copy.
|
||||
dehidratated tweets: nil.
|
||||
objectString := STON toStringPretty: dehidratated.
|
||||
directory := (FileLocator userData / 'Socialmetrica' / self userName) ensureCreateDirectory.
|
||||
oldFile := directory / self userName, 'ston'.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
accessing
|
||||
store
|
||||
self class storeDB. "Starting the ReStore singleton."
|
||||
ReStore isConnected ifFalse: [ self class storeDB]. "Starting the ReStore singleton."
|
||||
self tweets do: [:each | ReStore evaluateAsTransaction: [ each store ] ].
|
Loading…
Reference in New Issue
Block a user