fixed addon name

This commit is contained in:
Tobias Diekershoff 2022-02-19 10:40:07 +01:00
parent 6a1e9a9b2e
commit 63d631f61e
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@ use Friendica\Core\Renderer;
use Friendica\DI;
function mahjong_install() {
Hook::register('app_menu', 'addon/mah/mah.php', 'mahjong_app_menu');
Hook::register('app_menu', 'addon/mahjong/mahjong.php', 'mahjong_app_menu');
}
function mahjong_app_menu($a,&$b) {
$b['app_menu'][] = '<div class="app-title"><a href="mah">' . DI::l10n()->t('Mahjong Game') . '</a><
$b['app_menu'][] = '<div class="app-title"><a href="mahjong">' . DI::l10n()->t('Mahjong Game') . '</a><
/div>';
}