1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Remove uneeded func

This commit is contained in:
LEDfan 2014-11-21 11:37:08 +01:00
parent bd9706756d
commit 2e9dbc4a38

View File

@ -287,18 +287,4 @@ SQL;
return $result;
}
private function getAddresbookKeyForContact($id){
$table = self::CONTACT_TABLE;
$query = <<<SQL
SELECT
`addressbookid`
FROM
`$table`
WHERE `id` = ?
SQL;
$stmt = \OCP\DB::prepare($query);
$result = $stmt->execute(array($id));
$row = $result->fetchOne();
return $row['addressbookid'];
}
}