From 87ecdfb1f29c625493d5283a18e7092c556c9375 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sun, 2 Dec 2018 21:35:24 -0600 Subject: [PATCH] Update: remove do_build functions from all action classes These are too situation specific and are not likely to have an shared string structures to build. --- common/database/traits/database_action.php | 38 ------------------------------ 1 file changed, 38 deletions(-) diff --git a/common/database/traits/database_action.php b/common/database/traits/database_action.php index c96a0b4..1166450 100644 --- a/common/database/traits/database_action.php +++ b/common/database/traits/database_action.php @@ -64,25 +64,6 @@ trait t_database_action { return c_base_return_int::s_new($this->action); } - - /** - * Perform the common build process for this trait. - * - * As an internal trait method, the caller is expected to perform any appropriate validation. - * - * @return string|null - * A string is returned on success. - * NULL is returned if there is nothing to process or there is an error. - */ - protected function p_do_build_action() { - $value = NULL; - - if (is_string($this->action)) { - //$value = c_database_string::RENAME_TO . ' (' . $this->rename_to . ')'; - } - - return $value; - } } /** @@ -134,25 +115,6 @@ trait t_database_action_property { return c_base_return_int::s_new($this->action_property); } - - /** - * Perform the common build process for this trait. - * - * As an internal trait method, the caller is expected to perform any appropriate validation. - * - * @return string|null - * A string is returned on success. - * NULL is returned if there is nothing to process or there is an error. - */ - protected function p_do_build_action_property() { - $value = NULL; - - if (is_string($this->action_property)) { - //$value = c_database_string::RENAME_TO . ' (' . $this->rename_to . ')'; - } - - return $value; - } } /** -- 1.8.3.1