owncloud/core — pull request #9213 by PVince81 (2014-06-25 16:19:52+00:00)
Title: Prevent loading apps in remote when an upgrade is due

remote.php is loading apps here https://github.com/owncloud/core/blob/master/remote.php#L29

If an update is due for these apps, then accessing any remote will automatically update these apps, which is wrong.

This fix makes it return a 503 error code (Service unavailable) in such cases.

In the past such code might have been returned by the WebDAV plugin of the files app, but the behavior can be unpredictable if we let the app auto-update or init itself when an update is due, so it's better to catch this case earlier.

Please review @karlitschek @icewind1991 @LukasReschke @blizzz