well, looks like that solved the issue, or atleast pointed in the right direction.
Here's the output of that command BTW;
Code:
root@fusionpbx-ubuntu-20-4:~# grep /core/domains/domains.php /var/www/fusionpbx/*/*/app_menu.php
/var/www/fusionpbx/app/phone/app_menu.php: $apps[$x]['menu'][$y]['path'] = "/core/domains/domains.php";
/var/www/fusionpbx/core/domains/app_menu.php: $apps[$x]['menu'][$y]['path'] = "/core/domains/domains.php";
It's the
phone app (Commonality between me and OP), that has a app_menu.php file that has the following code;
Code:
<?php
$y=0;
$apps[$x]['menu'][$y]['title']['en-us'] = "Domains";
$apps[$x]['menu'][$y]['title']['ar-eg'] = "";
$apps[$x]['menu'][$y]['title']['de-at'] = "Domänen";
$apps[$x]['menu'][$y]['title']['de-de'] = "Domänen";
$apps[$x]['menu'][$y]['title']['es-cl'] = "Dominios";
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
$apps[$x]['menu'][$y]['title']['fr-fr'] = "domaines";
$apps[$x]['menu'][$y]['title']['he-il'] = "";
$apps[$x]['menu'][$y]['title']['it-it'] = "Domini";
$apps[$x]['menu'][$y]['title']['nl-nl'] = "";
$apps[$x]['menu'][$y]['title']['pl-pl'] = "Domeny";
$apps[$x]['menu'][$y]['title']['pt-br'] = "Dominios";
$apps[$x]['menu'][$y]['title']['pt-pt'] = "Domínios";
$apps[$x]['menu'][$y]['title']['ro-ro'] = "";
$apps[$x]['menu'][$y]['title']['ru-ru'] = "Домены";
$apps[$x]['menu'][$y]['title']['sv-se'] = "Domäner";
$apps[$x]['menu'][$y]['title']['uk-ua'] = "Домени";
$apps[$x]['menu'][$y]['uuid'] = "4fa7e90b-6d6c-12d4-712f-62857402b801";
$apps[$x]['menu'][$y]['parent_uuid'] = "594d99c5-6128-9c88-ca35-4b33392cec0f";
$apps[$x]['menu'][$y]['category'] = "internal";
$apps[$x]['menu'][$y]['path'] = "/core/domains/domains.php";
$apps[$x]['menu'][$y]['groups'][] = "superadmin";
?>
this file is not needed to get the phone to work. Just removed it and run ADVANCED > UPGRADE > App Defaults & Menu Defaults & Permission Defaults > Logout / Login, and the duplicate domains menu is gone. Thanks
@tfernandez cheers