Follow-up Ifa9c55b7 (58852d8): Change one more item to getWatchedItem()
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 14 Jul 2012 17:03:07 +0000 (19:03 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Sat, 14 Jul 2012 17:03:07 +0000 (19:03 +0200)
Change-Id: Id723f94e0dff68953fb7ea4e260cba58ab24d49d

includes/User.php

index 51877f8..9df628c 100644 (file)
@@ -2712,8 +2712,7 @@ class User {
                        $force = 'force';
                }
 
-               $wi = WatchedItem::fromUserTitle( $this, $title );
-               $wi->resetNotificationTimestamp( $force );
+               $this->getWatchedItem( $title )->resetNotificationTimestamp( $force );
        }
 
        /**