From: Tim Starling Date: Sat, 27 Aug 2005 08:50:44 +0000 (+0000) Subject: respect bot flag in RecentChange::notifyLog() X-Git-Tag: 1.6.0~1780 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=82006ba0be97d2bf6daf5fdd02494bee6f6c8160;p=lhc%2Fweb%2Fwiklou.git respect bot flag in RecentChange::notifyLog() --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 48dcf12dae..ae5ef5f9fc 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -340,7 +340,7 @@ class RecentChange 'rc_comment' => $comment, 'rc_this_oldid' => 0, 'rc_last_oldid' => 0, - 'rc_bot' => 0, + 'rc_bot' => $user->isBot() ? 1 : 0, 'rc_moved_to_ns' => 0, 'rc_moved_to_title' => '', 'rc_ip' => $ip,