Last few svn property fixes
[lhc/web/wiklou.git] / includes / WatchedItem.php
index 0cf8a77..dd6e247 100644 (file)
@@ -84,6 +84,8 @@ class WatchedItem {
         * @return bool
         */
        public function removeWatch() {
+               wfProfileIn( __METHOD__ );
+
                $success = false;
                $dbw = wfGetDB( DB_MASTER );
                $dbw->delete( 'watchlist',
@@ -112,6 +114,8 @@ class WatchedItem {
                if ( $dbw->affectedRows() ) {
                        $success = true;
                }
+
+               wfProfileOut( __METHOD__ );
                return $success;
        }