-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Fix Version/s: 5.0.2-B1
-
Component/s: Optimization
-
Labels:
-
External issue URL:
-
External issue ID:239
-
Copy Issue Key:
-
Patch Instructions:
Currently "kApplication::IsAdmin" method only checks for ADMIN constant and it's value. This method is called almost at every script run. I propose to add "isAdmin" class variable and calculate it's value on application initialization and get rid of this method. This should boost performance in cases, where this method is called in loops.