mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-03 15:24:09 +01:00
Remove uneeded func
This commit is contained in:
parent
bd9706756d
commit
2e9dbc4a38
@ -287,18 +287,4 @@ SQL;
|
|||||||
return $result;
|
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'];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user