forked from friendica/friendica-addons
fix contact photo menu callback really
This commit is contained in:
parent
be44ac9b2b
commit
761a9d8c20
|
@ -6,6 +6,7 @@
|
|||
* Author: Matthew Exon <http://mat.exon.name>
|
||||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Logger;
|
||||
|
@ -972,10 +973,10 @@ function retriever_content(App $a) {
|
|||
/**
|
||||
* @brief Hook that adds the retriever option to the contact menu
|
||||
*
|
||||
* @param App $a The App object
|
||||
* @param App $a The App object (by ref)
|
||||
* @param array $args Contact menu details to be filled in (by ref)
|
||||
*/
|
||||
function retriever_contact_photo_menu(array &$args) {
|
||||
function retriever_contact_photo_menu(App &$a, array &$args) {
|
||||
if (!$args) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue