Viewing Issue Simple Details |
ID |
Category |
Type |
Reproducibility |
Date Submitted |
Last Update |
0000239 |
[In-Portal CMS] Optimization |
task |
always |
2009-08-24 03:20 |
2010-01-11 22:05 |
|
Reporter |
alex |
View Status |
public |
|
Assigned To |
alex |
Priority |
normal |
Resolution |
fixed |
|
Status |
closed |
|
|
|
|
Summary |
0000239: Replace "kApplication::IsAdmin" method with "kApplication::isAdmin" class attribute |
Description |
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. |
Additional Information |
|