From eccd9707a80d5cd18b9b80094dacff1e49fc2f48 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 15 Apr 2015 17:58:48 -0700 Subject: [PATCH] Tweaked CAS log message for User::saveSettings Change-Id: I82376561b3c7c15da6fe6374db0245caa5d79ce8 --- includes/User.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.20.1