public static Setting set(String name, String value) { Setting s = getSetting(name); if (s != null) { s.value = value; } else { s = new Setting(name, value); } if (s != null) s.save(); return s; }
public static void remove(String name) { Setting s = getSetting(name); if (s != null) s.delete(); }