Use db manager in create_session
parent
1ec1b3b493
commit
89b68df9d8
|
@ -224,7 +224,7 @@ protected
|
|||
# Pass along any associated payload uuid if specified
|
||||
if opts[:payload_uuid]
|
||||
s.payload_uuid = opts[:payload_uuid]
|
||||
if s.payload_uuid.respond_to?(:puid_hex) && (uuid_info = framework.uuid_db[s.payload_uuid.puid_hex])
|
||||
if s.payload_uuid.respond_to?(:puid_hex) && (uuid_info = framework.db.get_payload({uuid: s.payload_uuid.puid_hex}))
|
||||
s.payload_uuid.registered = true
|
||||
s.payload_uuid.name = uuid_info['name']
|
||||
s.payload_uuid.timestamp = uuid_info['timestamp']
|
||||
|
|
Loading…
Reference in New Issue