aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/preferences.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-09-10 13:11:04 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-22 12:26:43 +0200
commitd4e929c37a70291e33c9a686e6e5576bd2a3dd86 (patch)
tree80d628f8f3bd231bd0dcefd1b71529f28311f9e0 /lib/private/preferences.php
parent97a6f5c46b508cca2c6b55c062945fee5da7f834 (diff)
downloadnextcloud-server-d4e929c37a70291e33c9a686e6e5576bd2a3dd86.tar.gz
nextcloud-server-d4e929c37a70291e33c9a686e6e5576bd2a3dd86.zip
Remove implicit prepared statement cache and get the connection from the server container in \OC_DB
Diffstat (limited to 'lib/private/preferences.php')
-rw-r--r--lib/private/preferences.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/preferences.php b/lib/private/preferences.php
index a849cc23e1a..cdaa207449d 100644
--- a/lib/private/preferences.php
+++ b/lib/private/preferences.php
@@ -36,7 +36,7 @@
namespace OC;
-use \OC\DB\Connection;
+use OCP\IDBConnection;
/**
@@ -61,9 +61,9 @@ class Preferences {
protected $cache = array();
/**
- * @param \OC\DB\Connection $conn
+ * @param \OCP\IDBConnection $conn
*/
- public function __construct(Connection $conn) {
+ public function __construct(IDBConnection $conn) {
$this->conn = $conn;
}