]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/enjitqueuehandler.php
Only start daemons that are required, according to the site config. There is the...
[quix0rs-gnu-social.git] / scripts / enjitqueuehandler.php
index 55d73e08c458b676b6c1e6d7874cba106d3dcb40..40f60da5d80996fc19901c61546fc91be72e57ba 100755 (executable)
@@ -33,7 +33,8 @@ require_once(INSTALLDIR . '/lib/queuehandler.php');
 
 set_error_handler('common_error_handler');
 
-class EnjitQueueHandler extends QueueHandler {
+class EnjitQueueHandler extends QueueHandler
+{
     
     function transport()
     {
@@ -73,7 +74,7 @@ class EnjitQueueHandler extends QueueHandler {
         $atom .= "<link href='" . $profile->profileurl . "'/>\n";
         $atom .= "<link rel='self' type='application/rss+xml' href='" . common_local_url('userrss', array('nickname' => $profile->nickname)) . "'/>\n";
         $atom .= "<author><name>" . $profile->nickname . "</name></author>\n";
-        $atom .= "<icon>" . common_profile_avatar_url($profile, AVATAR_PROFILE_SIZE) . "</icon>\n";
+        $atom .= "<icon>" . $profile->avatarUrl(AVATAR_PROFILE_SIZE) . "</icon>\n";
         $atom .= "</source>\n";
         $atom .= "<title>" . htmlspecialchars($msg) . "</title>\n";
         $atom .= "<summary>" . htmlspecialchars($msg) . "</summary>\n";