owncloud/core — pull request #8748 by scolebrook (2014-05-27 17:08:53+00:00)
Title: Add ability to enable/disable maintenance mode from cli.

Simple addition to the capabilities of console.php to turn maintenance mode on or off. Basically a dupe of the singleuser.php script by Robin Appelman. Useful for backup scripts so that database and data directory snapshots can be taken with no changes from users. If these two things are not perfectly in sync when backed up, restore will be a major headache.