public static bool Delete(string themeId, string identifier, ScriptletType scriptletType, bool isCustom) { Scriptlet s = Load(themeId, identifier, scriptletType, (isCustom ? BitFieldState.True : BitFieldState.False), false); if (s != null) { return(s.Delete()); } return(false); }
public static bool Delete(Scriptlet scriptlet) { return(scriptlet.Delete()); }