From: Aaron Schulz Date: Thu, 16 Apr 2015 00:58:48 +0000 (-0700) Subject: Tweaked CAS log message for User::saveSettings X-Git-Tag: 1.31.0-rc.0~11696^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/voir.php?a=commitdiff_plain;h=eccd9707a80d5cd18b9b80094dacff1e49fc2f48;p=lhc%2Fweb%2Fwiklou.git Tweaked CAS log message for User::saveSettings Change-Id: I82376561b3c7c15da6fe6374db0245caa5d79ce8 --- diff --git a/includes/User.php b/includes/User.php index 3c2939fb52..f862953767 100644 --- a/includes/User.php +++ b/includes/User.php @@ -3633,7 +3633,8 @@ class User implements IDBAccessObject { if ( !$dbw->affectedRows() ) { // User was changed in the meantime or loaded with stale data MWExceptionHandler::logException( new MWException( - "CAS update failed on user_touched for user ID '{$this->mId}'." + "CAS update failed on user_touched for user ID '{$this->mId}';" . + "the version of the user to be saved is older than the current version." ) ); // Maybe the problem was a missed cache update; clear it to be safe $this->clearSharedCache();