- renamed Widget::accounttypes() to Widget::accountTypes()
- fixed type-hint the documentation was wrong
This commit is contained in:
Roland Häder 2022-06-30 14:49:51 +02:00
parent 83cbe586ac
commit 5c0e8c62de
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
5 changed files with 6 additions and 6 deletions

View file

@ -90,7 +90,7 @@ class Community extends BaseModule
Nav::setSelected('community');
DI::page()['aside'] .= Widget::accounttypes('community/' . self::$content, self::$accountTypeString);
DI::page()['aside'] .= Widget::accountTypes('community/' . self::$content, self::$accountTypeString);
if (local_user() && DI::config()->get('system', 'community_no_sharer')) {
$path = self::$content;

View file

@ -86,7 +86,7 @@ class Network extends BaseModule
$module = 'network';
DI::page()['aside'] .= Widget::accounttypes($module, self::$accountTypeString);
DI::page()['aside'] .= Widget::accountTypes($module, self::$accountTypeString);
DI::page()['aside'] .= Group::sidebarWidget($module, $module . '/group', 'standard', self::$groupId);
DI::page()['aside'] .= ForumManager::widget($module . '/forum', local_user(), self::$forumContactId);
DI::page()['aside'] .= Widget::postedByYear($module . '/archive', local_user(), false);