summaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-10 13:07:16 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-22 12:26:43 +0200
commit72f99f5041fc4b217a4a5c3683444ee86d3ac878 (patch)
treee86ce5e62da3890505047f0d6954f5963d8fd6e0 /lib/private/server.php
parentb7718bc212e7579ad15c51d48447ff4eca44bff6 (diff)
downloadnextcloud-server-72f99f5041fc4b217a4a5c3683444ee86d3ac878.tar.gz
nextcloud-server-72f99f5041fc4b217a4a5c3683444ee86d3ac878.zip
Remove \OC\DB\ConnectionWrapper, have \OC\DB\Connection implement \OCP\IDBConnection directly instead
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php2
1 files changed, 1 insertions, 1 deletions
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();
}
/**