mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Remove repo from favorites at delete/purge (#3641)
Closes https://github.com/larshp/abapGit/issues/3640
This commit is contained in:
parent
07e1f787c6
commit
3a48d01201
|
@ -237,6 +237,11 @@ CLASS ZCL_ABAPGIT_REPO_SRV IMPLEMENTATION.
|
||||||
|
|
||||||
zcl_abapgit_persist_factory=>get_repo( )->delete( io_repo->get_key( ) ).
|
zcl_abapgit_persist_factory=>get_repo( )->delete( io_repo->get_key( ) ).
|
||||||
|
|
||||||
|
" If favorite, remove it
|
||||||
|
IF zcl_abapgit_persistence_user=>get_instance( )->is_favorite_repo( io_repo->get_key( ) ) = abap_true.
|
||||||
|
zcl_abapgit_persistence_user=>get_instance( )->toggle_favorite( io_repo->get_key( ) ).
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
DELETE TABLE mt_list FROM io_repo.
|
DELETE TABLE mt_list FROM io_repo.
|
||||||
ASSERT sy-subrc = 0.
|
ASSERT sy-subrc = 0.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user