Reducing the number of calls to Mobile_Detect->isMobile() (Bug #1427031)
We seem to be calling it on every page load - so for a page with lots
of blocks it means a lot of calls.
When really we should call it once when a user first arrives as they
won't be switching devices during their session.
Change-Id: Id939ad83c5acfdbcdd358691def25bd2e5f5a592
Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
Please register or sign in to comment