https://www.icyphoenix.com/viewtopic.php?f=28&t=2121&p=15281#p15281
-----------------------------------
tonyf12
Sat 26 May, 2007 14:37

Two Things People May Find Handy
-----------------------------------
These are two very small changes which people may find handy

1. To edit first admin protection

OPEN [b]root/adm/admin_ug_auth.php[/b]
FIND
[codeblock]// Disallow other admins to delete or edit the first admin MOD START
if ( $user_id == '2' && $userdata['user_id'] != '2' )
[/codeblock]
REPLACE WITH
[codeblock]// Disallow other admins to delete or edit the first admin MOD START
if ( $user_id != $userdata['user_id'])[/codeblock]
to stop all admins deleting other admins
Warning: Admins cannot edit other admins at all after this is done (such as adding new admins) so have all your admins as admins before.
)


