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
Merge "Add BeforeResetNotificationTimestamp hook"
[lhc/web/wiklou.git]
/
includes
/
watcheditem
/
WatchedItemStore.php
diff --git
a/includes/watcheditem/WatchedItemStore.php
b/includes/watcheditem/WatchedItemStore.php
index
5f38775
..
8566895
100644
(file)
--- a/
includes/watcheditem/WatchedItemStore.php
+++ b/
includes/watcheditem/WatchedItemStore.php
@@
-907,6
+907,10
@@
class WatchedItemStore implements WatchedItemStoreInterface, StatsdAwareInterfac
return false;
}
+ if ( ! Hooks::run( 'BeforeResetNotificationTimestamp', [ &$user, &$title, $force, &$oldid ] ) ) {
+ return false;
+ }
+
$item = null;
if ( $force != 'force' ) {
$item = $this->loadWatchedItem( $user, $title );