Add IDatabase::isReadOnly() method
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 20 Oct 2015 23:42:02 +0000 (16:42 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 20 Oct 2015 23:48:18 +0000 (16:48 -0700)
commit7662212384f3e6eb7bff70c2a4108e4839395e62
tree7c4d574733dd18b687c6579cde7f8c2d18646cbd
parent3c0432fcb399aa09ee1fb453d0c92b8c0404f2fa
Add IDatabase::isReadOnly() method

Also made getReadOnlyReason() protected as it has no outside
callers and is not part of IDatabase.

Change-Id: If6694a19df038af645a97f701397a536570d1b42
includes/db/DBConnRef.php
includes/db/Database.php
includes/db/IDatabase.php