X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffollow.php;h=6e1f9069472040cf56b51ad262bbc2f31467235f;hb=1058b28ceabcec802932fc33bb79e6ce7814f945;hp=2e970ad0cb853f7092e42cf29ebd0215a901b92b;hpb=d97b6a2eba8bfe3af636cb154246b7791d807337;p=friendica.git diff --git a/mod/follow.php b/mod/follow.php index 2e970ad0cb..6e1f906947 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -5,7 +5,7 @@ require_once('include/follow.php'); require_once('include/Contact.php'); require_once('include/contact_selectors.php'); -function follow_content(&$a) { +function follow_content(App $a) { if (! local_user()) { notice( t('Permission denied.') . EOL); @@ -110,7 +110,7 @@ function follow_content(&$a) { //'$photo' => proxy_url($ret["photo"], false, PROXY_SIZE_SMALL), '$desc' => "", '$pls_answer' => t('Please answer the following:'), - '$does_know_you' => array('knowyou', sprintf(t('Does %s know you?'),$ret["name"]), false, '', array(t('No'),t('Yes'))), + '$does_know_you' => array('knowyou', sprintf(t('Does %s know you?'),$ret["name"]), false, '', array(t('No'), t('Yes'))), '$add_note' => t('Add a personal note:'), '$page_desc' => "", '$friendica' => "", @@ -152,7 +152,7 @@ function follow_content(&$a) { return $o; } -function follow_post(&$a) { +function follow_post(App $a) { if (! local_user()) { notice( t('Permission denied.') . EOL);