From 6c7a4266410070d30f8f6bcdf9c9e67f3d6478e3 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 19 Jun 2017 11:33:58 +0300 Subject: [ci skip] 3.1.5 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