Custom DNSAdmin module - What are companyids

cPanel & WHM Version
110.0.0

rbairwell

Well-Known Member
May 28, 2022
111
48
28
Mansfield, Nottingham, UK
cPanel Access Level
Root Administrator
I'm developing a custom DNSAdmin module as per Guide to Custom dnsadmin Plugins and I'm looking at the existing implementations to help guide me. I note in /usr/local/cpanel/Cpanel/NameServer/Setup/Remote/SoftLayer.pm line 134 within get_config, it references:
Code:
'companyids' => [ 150, 477, 425, 7 ],    # Company IDs that this module should show up for
and in /usr/local/cpanel/Cpanel/NameServer/Setup/Remote/VPSNET.pm in line 134 within get_config, it references:
Code:
'companyids' => [ 454, 7 ],    # Company IDs that this module should show up for
but I can't see anywhere where this is referenced, used or documented. Am I looking at dead-code here or have I missed something?
 
Last edited by a moderator: