north há 7 anos atrás
pai
commit
3c7e87f72f
1 ficheiros alterados com 4 adições e 4 exclusões
  1. 4 4
      www/protected/controllers/HouseKeepingController.php

+ 4 - 4
www/protected/controllers/HouseKeepingController.php

@@ -11,10 +11,10 @@ class HouseKeepingController extends AdminController
 {
     public function actionIndex()
     {
-        $tmp = HouseKeeping::model()->findAll();
-        foreach ($tmp as $k => $v) {
-        $v->delete();
-        }
+        //$tmp = HouseKeeping::model()->findAll();
+        //foreach ($tmp as $k => $v) {
+        //$v->delete();
+       // }
         $status_option = CommonFn::getComboboxData(HouseKeeping::$status_option, 1, true, 100);
         $type_option = CommonFn::getComboboxData(HouseKeeping::$type_option, 1, true, 100);
         $cart_options = CommonFn::getComboboxData(HouseKeeping::$cart_options, 1, true, 100);