Using new reversable uuid.
This commit is contained in:
parent
eef18e1387
commit
547bba2c14
@ -531,11 +531,8 @@ Tiddler >> uid [
|
|||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
Tiddler >> uidGenerator [
|
Tiddler >> uidGenerator [
|
||||||
|
|
||||||
| tempId |
|
self created ifNil: [ self created: self class nowLocal ].
|
||||||
self created
|
^ self customFields at: 'uid' put: self createdEncoded.
|
||||||
ifNotNil: [ tempId := self created hash hex. ]
|
|
||||||
ifNil: [ tempId := self class nowLocal hash hex ].
|
|
||||||
^ self customFields at: 'uid' put: tempId .
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user