owncloud/core — pull request #9306 by PVince81 (2014-06-30 12:50:24+00:00)
Title: Return 503 in  public.php and OCS API when upgrade is due

To prevent unexpected behavior, public.php and the OCS API calls will
return 503 Service Unavailable when an upgrade is due.

Hopefully fixes cases like https://github.com/owncloud/core/issues/9295

Please review @jancborchardt @DeepDiver1975 @karlitschek @icewind1991