From 72f99f5041fc4b217a4a5c3683444ee86d3ac878 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 10 Sep 2014 13:07:16 +0200 Subject: Remove \OC\DB\ConnectionWrapper, have \OC\DB\Connection implement \OCP\IDBConnection directly instead --- lib/private/server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/server.php') diff --git a/lib/private/server.php b/lib/private/server.php index f7ffee484ea..26d540ab239 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -469,7 +469,7 @@ class Server extends SimpleContainer implements IServerContainer { * @return \OCP\IDBConnection */ function getDatabaseConnection() { - return new ConnectionWrapper(\OC_DB::getConnection()); + return \OC_DB::getConnection(); } /** -- cgit v1.2.3