}
if ( !unlinkingEnabled ) {
// All activations started off staged, they are unstaged if they are blocked or
// allowed to move onto the actual agenda for firing.
ActivationGroup activationGroup = getStageActivationsGroup();
if ( activation.getActivationGroupNode() != null && activation.getActivationGroupNode().getActivationGroup() == activationGroup ) {
// already staged, so return
return;
}
activationGroup.addActivation( activation );
} // else, not needed for phreak
} else {
if ( !previouslyActive ) {
addActivation( activation, true );
} else {