1
1
Fork 0

And some more doc stuff

This commit is contained in:
Michael Vogel 2016-03-27 23:38:35 +02:00 committed by Roland Haeder
parent b198e73ef0
commit ce603cbb49
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -737,7 +737,7 @@ class diaspora {
* @param string $handle The checked handle in the format user@domain.tld * @param string $handle The checked handle in the format user@domain.tld
* @param bool $is_comment Is the check for a comment? * @param bool $is_comment Is the check for a comment?
* *
* @return bool is posting allowed? * @return array The contact data
*/ */
private function allowed_contact_by_handle($importer, $handle, $is_comment = false) { private function allowed_contact_by_handle($importer, $handle, $is_comment = false) {
$contact = self::contact_by_handle($importer["uid"], $handle); $contact = self::contact_by_handle($importer["uid"], $handle);
@ -931,7 +931,9 @@ class diaspora {
* @param array $person The record of the person * @param array $person The record of the person
* @param int $uid The user id * @param int $uid The user id
* *
* @return array of contact id and network type * @return array
* 'cid' => contact id
* 'network' => network type
*/ */
private function author_contact_by_url($contact, $person, $uid) { private function author_contact_by_url($contact, $person, $uid) {