Make wfReadOnly() a wrapper around wfReadOnlyReason()
authorKevin Israel <pleasestand@live.com>
Fri, 10 May 2013 07:37:04 +0000 (03:37 -0400)
committerTim Starling <tstarling@wikimedia.org>
Tue, 13 Aug 2013 04:42:24 +0000 (04:42 +0000)
commitb345e2492bd495e5c57cca06255489ea2cc6b8ec
tree9f7ecdfe5a1c05007c170d62c12274f7505197e2
parent450e9c3258f5c61d110dd0ea7f709a4ef6f8389d
Make wfReadOnly() a wrapper around wfReadOnlyReason()

This makes more sense than having wfReadOnlyReason() call
wfReadOnly() for its side effect of setting $wgReadOnly
to the contents of $wgReadOnlyFile if the file exists.

Change-Id: Ic723aed368915ac3757f3100ddbbeb3b5a4cdc15
includes/GlobalFunctions.php