Suppress popup on autostart after update (#3844)

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
mariusraht2 2020-09-06 09:28:43 +02:00 committed by GitHub
parent b0d1d04ade
commit 24cba9e221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,10 @@ CLASS ZCL_ABAPGIT_REPO IMPLEMENTATION.
sy-batch = abap_false AND sy-batch = abap_false AND
sy-cprog = lc_abapgit_prog. sy-cprog = lc_abapgit_prog.
IF zcl_abapgit_persist_settings=>get_instance( )->read( )->get_show_default_repo( ) = abap_false.
MESSAGE 'abapGit was updated and will restart itself' TYPE 'I'. MESSAGE 'abapGit was updated and will restart itself' TYPE 'I'.
ENDIF.
SUBMIT (sy-cprog). SUBMIT (sy-cprog).
ENDIF. ENDIF.