From: Alexandre Emsenhuber Date: Sat, 14 Jul 2012 17:03:07 +0000 (+0200) Subject: Follow-up Ifa9c55b7 (58852d8): Change one more item to getWatchedItem() X-Git-Tag: 1.31.0-rc.0~22918^2 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=75211ce18e41fde7aa8669b59ae575c606ed4b61;p=lhc%2Fweb%2Fwiklou.git Follow-up Ifa9c55b7 (58852d8): Change one more item to getWatchedItem() Change-Id: Id723f94e0dff68953fb7ea4e260cba58ab24d49d --- diff --git a/includes/User.php b/includes/User.php index 51877f8178..9df628c957 100644 --- a/includes/User.php +++ b/includes/User.php @@ -2712,8 +2712,7 @@ class User { $force = 'force'; } - $wi = WatchedItem::fromUserTitle( $this, $title ); - $wi->resetNotificationTimestamp( $force ); + $this->getWatchedItem( $title )->resetNotificationTimestamp( $force ); } /**