From c07643e407aab16ecabfdf5f641166583e02ec36 Mon Sep 17 00:00:00 2001 From: habeascodice Date: Sun, 28 Sep 2014 19:33:37 -0700 Subject: Allows extra content to be inserted at end of profile_photo page. Needed for openclipatar addon. --- mod/profile_photo.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/profile_photo.php b/mod/profile_photo.php index c587b9606..aad9c9d16 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -364,7 +364,9 @@ function profile_photo_content(&$a) { // FIXME - yuk '$select' => sprintf('%s %s', t('or'), ($newuser) ? '' . t('skip this step') . '' : '' . t('select a photo from your photo albums') . '') )); - + + call_hooks('profile_photo_content_end', $o); + return $o; } else { -- cgit v1.2.3