]> git.mxchange.org Git - friendica.git/blobdiff - include/ForumManager.php
Some small Diaspora changes
[friendica.git] / include / ForumManager.php
index 73eb511de60b2374d687ea58088c6f2e041a5117..17a6b6730b6956c72e8d26aede56e108dc8a4f3f 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 
 /**
- * @file include/forum.php
- * @brief Functions related to forum functionality *
+ * @file include/ForumManager.php
+ * @brief ForumManager class with its methods related to forum functionality *
  */
 
 /**
- * @brief This class handles functions related to the forum functionality
+ * @brief This class handles metheods related to the forum functionality
  */
 class ForumManager {
 
@@ -89,7 +89,7 @@ class ForumManager {
                if(count($contacts)) {
 
                        $id = 0;
-$a = get_app();
+
                        foreach($contacts as $contact) {
 
                                $selected = (($cid == $contact['id']) ? ' forum-selected' : '');
@@ -100,7 +100,7 @@ $a = get_app();
                                        'name' => $contact['name'],
                                        'cid' => $contact['id'],
                                        'selected'      => $selected,
-                                       'micro' => $a->get_cached_avatar_image(proxy_url($contact['micro'], false, PROXY_SIZE_MICRO)),
+                                       'micro' => App::remove_baseurl(proxy_url($contact['micro'], false, PROXY_SIZE_MICRO)),
                                        'id' => ++$id,
                                );
                                $entries[] = $entry;