X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2Fjobs%2FActivityUpdateJob.php;h=63579676380b3a5b8ed57d2df19c91c0d617f4d6;hb=440fe377d87ebb0a495d46ecba1fcc7f99209264;hp=13e36d81f6b763d82d39e45bd044d3ff451c4cca;hpb=592637225a4d5db5abcdc288d838c160284eef08;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/jobs/ActivityUpdateJob.php b/includes/jobqueue/jobs/ActivityUpdateJob.php index 13e36d81f6..6357967638 100644 --- a/includes/jobqueue/jobs/ActivityUpdateJob.php +++ b/includes/jobqueue/jobs/ActivityUpdateJob.php @@ -55,10 +55,10 @@ class ActivityUpdateJob extends Job { $dbw = wfGetDB( DB_MASTER ); $dbw->update( 'watchlist', - array( + [ 'wl_notificationtimestamp' => $dbw->timestampOrNull( $this->params['notifTime'] ) - ), - array( + ], + [ 'wl_user' => $this->params['userid'], 'wl_namespace' => $this->title->getNamespace(), 'wl_title' => $this->title->getDBkey(), @@ -69,7 +69,7 @@ class ActivityUpdateJob extends Job { // is non-NULL, make sure not to set it back in time or set it to // NULL when newer revisions were in fact added to the page. 'wl_notificationtimestamp < ' . $dbw->addQuotes( $dbw->timestamp( $casTimestamp ) ) - ), + ], __METHOD__ ); }