From c5edca7e78e342dca86ed027910f53b990c08bc2 Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 20 Mar 2016 14:22:03 +0100 Subject: [PATCH] rename folder to correct orthography --- controler/hk_controler.anubis | 10 ---------- controler/hk_delete.anubis | 27 --------------------------- controller/hk_controler.anubis | 10 ++++++++++ controller/hk_delete.anubis | 27 +++++++++++++++++++++++++++ 4 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 controler/hk_controler.anubis delete mode 100644 controler/hk_delete.anubis create mode 100644 controller/hk_controler.anubis create mode 100644 controller/hk_delete.anubis diff --git a/controler/hk_controler.anubis b/controler/hk_controler.anubis deleted file mode 100644 index 55bf0ce..0000000 --- a/controler/hk_controler.anubis +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Created by PyramIDE. - * User: フランスのトトロ aka (David RENÉ) - * Date: 19/03/2016 - * Time: 19:48 - * © Calexium - */ - - -transmit hayamiki_lib/controler/hk_delete.anubis diff --git a/controler/hk_delete.anubis b/controler/hk_delete.anubis deleted file mode 100644 index c99aaec..0000000 --- a/controler/hk_delete.anubis +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Created by PyramIDE. - * User: フランスのトトロ aka (David RENÉ) - * Date: 19/03/2016 - * Time: 19:25 - * © Calexium - */ - -read calexium_lib/web/CXM_common.anubis -read calexium_lib/web/CXM_web_arg_utils.anubis -//TODO move to hayamiki lib as view part of MVC -read calexium_lib/database/vtm/view_table_manager.anubis - -public define Result(String, String) - hk_delete_row - ( - List(Web_arg) lwa, - TM_delete_list d_list, //list of all delete row function for database - SQLite3DataBase db - )= - if get_String(lwa, "table_name") is {failure then error("CANT_GET_ARGUMENT"), success(table_name) then - if get_Int(lwa, "id") is {failure then error("CANT_GET_ARGUMENT"), success(id) then - if tm_get_delete(table_name, d_list) is {failure then error("DELETE_FUNC_DOESNT_EXIST"), success(hk_delete) then - if hk_delete(db, [id]) is {failure then error("DELETE_ROW_DB_ERROR"), success(_) then - ok("DELETE_ROW_OK") - }}}}. - diff --git a/controller/hk_controler.anubis b/controller/hk_controler.anubis new file mode 100644 index 0000000..55bf0ce --- /dev/null +++ b/controller/hk_controler.anubis @@ -0,0 +1,10 @@ +/* + * Created by PyramIDE. + * User: フランスのトトロ aka (David RENÉ) + * Date: 19/03/2016 + * Time: 19:48 + * © Calexium + */ + + +transmit hayamiki_lib/controler/hk_delete.anubis diff --git a/controller/hk_delete.anubis b/controller/hk_delete.anubis new file mode 100644 index 0000000..c99aaec --- /dev/null +++ b/controller/hk_delete.anubis @@ -0,0 +1,27 @@ +/* + * Created by PyramIDE. + * User: フランスのトトロ aka (David RENÉ) + * Date: 19/03/2016 + * Time: 19:25 + * © Calexium + */ + +read calexium_lib/web/CXM_common.anubis +read calexium_lib/web/CXM_web_arg_utils.anubis +//TODO move to hayamiki lib as view part of MVC +read calexium_lib/database/vtm/view_table_manager.anubis + +public define Result(String, String) + hk_delete_row + ( + List(Web_arg) lwa, + TM_delete_list d_list, //list of all delete row function for database + SQLite3DataBase db + )= + if get_String(lwa, "table_name") is {failure then error("CANT_GET_ARGUMENT"), success(table_name) then + if get_Int(lwa, "id") is {failure then error("CANT_GET_ARGUMENT"), success(id) then + if tm_get_delete(table_name, d_list) is {failure then error("DELETE_FUNC_DOESNT_EXIST"), success(hk_delete) then + if hk_delete(db, [id]) is {failure then error("DELETE_ROW_DB_ERROR"), success(_) then + ok("DELETE_ROW_OK") + }}}}. + -- libgit2 0.21.4