owncloud/core — pull request #8974 by PVince81 (2014-06-10 16:10:22+00:00)
Title: [WIP] Prevent loadApps on upgrade

:construction:

Moved OC::needUpgrade() to OCP\Util::needUpgrade() to make it accessible
form the router.
Moved maintenance + upgrade check to the router.

Tentative fix for #8787