Skip to content

Commit

Permalink
rolled back more savedstate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mjhagen committed May 19, 2021
1 parent b246b95 commit 0fcf3cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions base.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -1635,11 +1635,7 @@ component mappedSuperClass=true cacheuse="transactional" defaultSort="sortorder"

entitySave( logEntry );

if ( isNull( arguments.savedState ) || arguments.savedState.isEmpty() ) {
arguments.savedState = deOrm();
}

var logResult = logEntry.enterIntoLog( logAction, arguments.savedState, this );
var logResult = logEntry.enterIntoLog( logAction, savedState, this );

basecfcLog( 'Added log entry for #getName()# (#logResult.getId()#).' );
request.context.log = logResult; // <- that's ugly, but I need the log entry in some controllers.
Expand Down

0 comments on commit 0fcf3cc

Please sign in to comment.