thibaud-rohmer/PhotoShow — pull request #104 by Cyr-ius (2012-01-28 14:13:48+00:00)
Title: Fix Bug - performance problem with AdminStats

If you have several thousand photos. The class loading AdminStats a problem when you are logged in administrator.

The entire site to be extremely slow because the class is constructed for each GET

I suggest you move the statistical calculation of the launch of the admin page