Index: trunk/phase3/includes/actions/WatchAction.php |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | } |
89 | 89 | |
90 | 90 | public static function doWatch( Title $title, User $user ) { |
91 | | - $page = new Article( $title ); |
| 91 | + $page = new Article( $title, 0 ); |
92 | 92 | |
93 | 93 | if ( wfRunHooks( 'WatchArticle', array( &$user, &$page ) ) ) { |
94 | 94 | $user->addWatch( $title ); |
— | — | @@ -97,7 +97,7 @@ |
98 | 98 | } |
99 | 99 | |
100 | 100 | public static function doUnwatch( Title $title, User $user ) { |
101 | | - $page = new Article( $title ); |
| 101 | + $page = new Article( $title, 0 ); |
102 | 102 | |
103 | 103 | if ( wfRunHooks( 'UnwatchArticle', array( &$user, &$page ) ) ) { |
104 | 104 | $user->removeWatch( $title ); |