]> git.mxchange.org Git - friendica.git/commit
Refactor Model\Contact::addRelationship
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 19 May 2019 22:43:19 +0000 (18:43 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 20 May 2019 19:29:20 +0000 (15:29 -0400)
commit3114754f4b7b7b14ffe5749bc92c0e6034d58cae
tree36c0f7a2f5772a5d4bbfec4b0400f285e409e823
parent956ae6241d8872f0b7074fc7693e7658edd4fc52
Refactor Model\Contact::addRelationship

- Remove unused parameter $item
- Replace q() call with DBA::insert
- Update check on $contact that can only be an array now
- Add moethod doc block
src/Model/Contact.php
src/Protocol/ActivityPub/Processor.php
src/Protocol/DFRN.php
src/Protocol/OStatus.php