In the mediashare_mediahandlerapi_getHandlerInfo function in the select, there should also be a check if a mediahandler is active or not. There is an active column but, it seams that is not used.
Table:z_mediashare_mediahandlers
column:ms_active
If the active column is used, it would be possible to register an existing mediahndler without overwriting the original one.
An own mediahandler could be inserted, and the original one will be set to inactive.
Now the original Mediahandler has to be overwritten.
In the mediashare_mediahandlerapi_getHandlerInfo function in the select, there should also be a check if a mediahandler is active or not. There is an active column but, it seams that is not used.
Table:z_mediashare_mediahandlers column:ms_active
If the active column is used, it would be possible to register an existing mediahndler without overwriting the original one. An own mediahandler could be inserted, and the original one will be set to inactive.
Now the original Mediahandler has to be overwritten.