Added read-only checks around User::saveSettings where they belong
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 30 Mar 2015 19:00:07 +0000 (12:00 -0700)
committerOri.livneh <ori@wikimedia.org>
Thu, 2 Apr 2015 18:12:37 +0000 (18:12 +0000)
commitf7fe3c2b46d3e0ec7f30f3efe722ce0316454d1f
tree5f74028beb23ba3991d27561bdf12a496d1a5131
parent08762b02deb017e53c3d67a8b3f8e983758cb67f
Added read-only checks around User::saveSettings where they belong

* Ideally saveSettings() would not just silently do nothing in
  read-only mode as not all callers expect that behavior. This
  change is just the first step.

Change-Id: Ieeaf531dac3027ddba89c60159b98f9c04de78d3
includes/User.php
includes/specials/SpecialSearch.php
includes/specials/SpecialUserlogin.php