From 3fba9969a7fdc6e6d7b641a4c4cada117ac91e3f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 5 Apr 2009 02:02:30 +0000 Subject: [PATCH] Follow-up to r49191: Same thing but where the log is by an Oversighter. --- includes/specials/SpecialBlockip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index f25cb89fc3..1c2dc67d24 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -519,7 +519,7 @@ class IPBlockForm { array('ar_user_text' => $userId), __METHOD__ ); # Hide name from logs $dbw->update( 'logging', array("log_deleted = log_deleted $op $delUser"), - array('log_user' => $userId), __METHOD__ ); + array('log_user' => $userId, "log_type != 'suppress'"), __METHOD__ ); $dbw->update( 'logging', array("log_deleted = log_deleted $op $delAction"), array('log_namespace' => NS_USER, 'log_title' => $userDbKey, "log_type != 'suppress'"), __METHOD__ ); -- 2.20.1