dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Last few svn property fixes
[lhc/web/wiklou.git]
/
includes
/
WatchedItem.php
diff --git
a/includes/WatchedItem.php
b/includes/WatchedItem.php
index
0cf8a77
..
dd6e247
100644
(file)
--- a/
includes/WatchedItem.php
+++ b/
includes/WatchedItem.php
@@
-84,6
+84,8
@@
class WatchedItem {
* @return bool
*/
public function removeWatch() {
* @return bool
*/
public function removeWatch() {
+ wfProfileIn( __METHOD__ );
+
$success = false;
$dbw = wfGetDB( DB_MASTER );
$dbw->delete( 'watchlist',
$success = false;
$dbw = wfGetDB( DB_MASTER );
$dbw->delete( 'watchlist',
@@
-112,6
+114,8
@@
class WatchedItem {
if ( $dbw->affectedRows() ) {
$success = true;
}
if ( $dbw->affectedRows() ) {
$success = true;
}
+
+ wfProfileOut( __METHOD__ );
return $success;
}
return $success;
}