Skip to content

Commit

Permalink
Issue #1510: remove an useless capture in the version check
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Dec 16, 2021
1 parent b865e3d commit 30dac4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Kernel/System/MigrateFromOTRS/OTOBOFrameworkVersionCheck.pm
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ sub _CheckOTOBOVersion {
};
}

# Note: this check must be updated for every major and minor version
if ( $ReleaseInfo->{Version} !~ m/^10\.1(.*)$/ ) {
# Note: this version check must be updated for every major and minor version
if ( $ReleaseInfo->{Version} !~ m/^10\.1/ ) {
return {
Message => $Message,
Comment => $Self->{LanguageObject}->Translate( 'You are trying to run this script on the wrong framework version %s!', $ReleaseInfo->{Version} ),
Expand Down

0 comments on commit 30dac4e

Please sign in to comment.