示例#1
0
 public static function doDelete($id)
 {
     if (is_numeric($id)) {
         SettingSelect::find($id)->delete();
         Setting::reCacheSettings();
     }
 }
示例#2
0
 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();
     }
 }