From 5d6cb9f0053224d7f5dc5643a6dc5dea0094e1ca Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 7 Dec 2012 14:52:15 +0100 Subject: [PATCH] Namespace fix. --- lib/addressbook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addressbook.php b/lib/addressbook.php index e96b414a..aeaffcd1 100644 --- a/lib/addressbook.php +++ b/lib/addressbook.php @@ -59,7 +59,7 @@ class Addressbook { $stmt = \OCP\DB::prepare( 'SELECT * FROM `*PREFIX*contacts_addressbooks` WHERE `userid` = ? ' . $active_where . ' ORDER BY `displayname`' ); $result = $stmt->execute($values); if (\OC_DB::isError($result)) { - \OC_Log::write('contacts', __METHOD__. 'DB error: ' . \OC_DB::getErrorMessage($result), \OC_Log::ERROR); + \OCP\Util::write('contacts', __METHOD__. 'DB error: ' . \OC_DB::getErrorMessage($result), \OCP\Util::ERROR); return false; } } catch(\Exception $e) {