From b73eb19aed66190c10c9cad476da7c36c271d6dc Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Thu, 19 Sep 2019 15:08:45 +0300 Subject: [ci skip] 3.1.11 release --- tests/mocks/database/db/driver.php | 40 -------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 tests/mocks/database/db/driver.php (limited to 'tests/mocks/database/db/driver.php') diff --git a/tests/mocks/database/db/driver.php b/tests/mocks/database/db/driver.php deleted file mode 100644 index 86f7efd54..000000000 --- a/tests/mocks/database/db/driver.php +++ /dev/null @@ -1,40 +0,0 @@ -ci_db_driver = new $driver_class($config); - } - } - - /** - * Overloading method, emulate the actual driver method (multiple inheritance workaround) - */ - public function __call($method, $arguments) - { - if ( ! is_callable(array($this->ci_db_driver, $method))) - { - throw new BadMethodCallException($method. ' not exists or not implemented'); - } - - return call_user_func_array(array($this->ci_db_driver, $method), $arguments); - } - -} - -class CI_DB extends CI_DB_query_builder {} \ No newline at end of file -- cgit v1.2.3-24-g4f1b