forked from friendica/friendica-addons
fix contact photo menu callback really
This commit is contained in:
parent
d4d34b1156
commit
57b17d123c
|
@ -6,6 +6,7 @@
|
||||||
* Author: Matthew Exon <http://mat.exon.name>
|
* Author: Matthew Exon <http://mat.exon.name>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
use Friendica\App;
|
||||||
use Friendica\Core\Addon;
|
use Friendica\Core\Addon;
|
||||||
use Friendica\Core\Hook;
|
use Friendica\Core\Hook;
|
||||||
use Friendica\Core\Logger;
|
use Friendica\Core\Logger;
|
||||||
|
@ -972,10 +973,10 @@ function retriever_content(App $a) {
|
||||||
/**
|
/**
|
||||||
* @brief Hook that adds the retriever option to the contact menu
|
* @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)
|
* @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) {
|
if (!$args) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue