public static function doDelete($id) { if (is_numeric($id)) { SettingSelect::find($id)->delete(); Setting::reCacheSettings(); } }
public static function doDelete($id) { if (is_numeric($id)) { $id_page = Input::get("id"); $page = Setting::find($id_page); Event::fire("setting.delete", array($page)); $page->delete(); Setting::reCacheSettings(); } }