diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2011-12-31 01:34:22 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2011-12-31 01:34:22 +0100 |
commit | 1b146b85d2b645dc4ae4f16d9757ad4bd939c0e2 (patch) | |
tree | dcafe27ca4df83aaefd5143ed76bff838b00bbed /apps/contacts/lib/vcard.php | |
parent | 97471b5c2a079be34aeff099019f219135b9cb2c (diff) | |
download | nextcloud-server-1b146b85d2b645dc4ae4f16d9757ad4bd939c0e2.tar.gz nextcloud-server-1b146b85d2b645dc4ae4f16d9757ad4bd939c0e2.zip |
Removed redundant DB queries.
Diffstat (limited to 'apps/contacts/lib/vcard.php')
-rw-r--r-- | apps/contacts/lib/vcard.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index 81519b3d051..beb291b481e 100644 --- a/apps/contacts/lib/vcard.php +++ b/apps/contacts/lib/vcard.php @@ -47,9 +47,6 @@ class OC_Contacts_VCard{ * ['carddata'] */ public static function all($id){ - //$stmt = OC_DB::prepare( 'SELECT * FROM *PREFIX*contacts_cards WHERE addressbookid = ? ORDER BY fullname' ); - //$result = $stmt->execute(array($id)); - if(is_array($id)) { $id_sql = join(',', array_fill(0, count($id), '?')); $prep = 'SELECT * FROM *PREFIX*contacts_cards WHERE addressbookid IN ('.$id_sql.') ORDER BY fullname'; |