| Index: trunk/phase3/includes/WatchedItem.php |
| — | — | @@ -84,6 +84,8 @@ |
| 85 | 85 | * @return bool |
| 86 | 86 | */ |
| 87 | 87 | public function removeWatch() { |
| | 88 | + wfProfileIn( __METHOD__ ); |
| | 89 | + |
| 88 | 90 | $success = false; |
| 89 | 91 | $dbw = wfGetDB( DB_MASTER ); |
| 90 | 92 | $dbw->delete( 'watchlist', |
| — | — | @@ -112,6 +114,8 @@ |
| 113 | 115 | if ( $dbw->affectedRows() ) { |
| 114 | 116 | $success = true; |
| 115 | 117 | } |
| | 118 | + |
| | 119 | + wfProfileOut( __METHOD__ ); |
| 116 | 120 | return $success; |
| 117 | 121 | } |
| 118 | 122 | |