[TYPO3-core] RFC #11391: Add a button to let admins create the file ENABLE_INSTALL_TOOL from the backend

Steffen Kamper info at sk-typo3.de
Fri Jul 3 12:46:16 CEST 2009


Andy Grunwald [wmdb] schrieb:

> Why we have three ways to check if a user is an Admin?
> - $this->isAdmin
> - $BE_USER->isAdmin()
> - $scriptUser->isAdmin()
> 

simple:

1) make only one check insead of multiple function calls (performance)
2) check for original user
3) check for simulate user

vg Steffen


More information about the TYPO3-team-core mailing list