Hidendra/LWC — Issue #189: getPhysicalDatabase().unregisterProtection() is not existing anymore in 4.0.0 and not deprecated
Author: dredhorse
Created: 2011-12-23 14:33:27+00:00
State: open

well tried to compile for 3.x and 4.x but this is a problem:

if (plugin.isLWC4()){
lwc.getPhysicalDatabase().removeProtection(protection.getId());
} else {
lwc.getPhysicalDatabase().unregisterProtection(protection.getId());
}