Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-198

Replace "kApplication::IsAdmin" method with "kApplication::isAdmin" class attribute

    XMLWordPrintable

    Details

      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.

        Attachments

          Activity

            People

            • Assignee:
              alex Alex
              Reporter:
              alex Alex
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: