Commit 589af4fa authored by Paul's avatar Paul

Issue #1331862 by DeeLay: Misleading watchdog message on user_save

parent 662d6e21
......@@ -118,7 +118,8 @@ function expire_user($op, &$edit, &$account, $category = NULL) {
if (in_array($op, $cases)) {
$paths[] = 'user/' . $account->uid;
$flushed = expire_cache_derivative($paths, $account);
watchdog('expire', 'User !uid was deleted resulting in !flushed pages being expired from the cache', array(
watchdog('expire', 'User !op for !uid resulted in !flushed pages being expired from the cache', array(
'!op' => $op,
'!uid' => $account->uid,
'!flushed' => $flushed,
));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment