From: Kevin Day Date: Sun, 11 Feb 2018 18:41:00 +0000 (-0600) Subject: Cleanup: use do_build() instead of build() X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=aaaa71c4e9c4ebe698b299be861881b654993166;p=koopa Cleanup: use do_build() instead of build() --- diff --git a/common/base/classes/base_database.php b/common/base/classes/base_database.php index f17eaf3..d5eaff5 100644 --- a/common/base/classes/base_database.php +++ b/common/base/classes/base_database.php @@ -496,7 +496,7 @@ class c_base_database_connection_string extends c_base_return_string { * * The built string is stored inside of this objects 'value' parameter. */ - public function build() { + public function do_build() { $this->value = ''; if (!empty($this->host)) { @@ -730,7 +730,7 @@ class c_base_database extends c_base_return { } $this->connection_string = clone($connection_string); - $this->connection_string->build(); + $this->connection_string->do_build(); return new c_base_return_true(); } @@ -881,7 +881,7 @@ class c_base_database extends c_base_return { } // make sure the connection string is built before using. - $this->connection_string->build(); + $this->connection_string->do_build(); // PHP's default error handle does not handle warnings. // postgresql does not return the connection failure errors and instead prints a warning.