From d4e929c37a70291e33c9a686e6e5576bd2a3dd86 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 10 Sep 2014 13:11:04 +0200 Subject: Remove implicit prepared statement cache and get the connection from the server container in \OC_DB --- lib/private/preferences.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/private/preferences.php') 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; } -- cgit v1.2.3