Lines Matching +full:count +full:- +full:users -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
27 if (!$subscriberManager->isenabled()) {
37 $count = 0;
39 $subscriptions = $subscriberManager->subscribers($page, null, ['digest', 'list']);
43 $olduser = $INPUT->server->str('REMOTE_USER');
45 foreach ($subscriptions as $target => $users) {
46 if (!$this->lock($target)) {
50 foreach ($users as $user => $info) {
61 $USERINFO = $auth->getUserData($user);
62 $INPUT->server->set('REMOTE_USER', $user);
89 ($INPUT->server->str('REMOTE_USER') === $rev['user'] ||
92 $revisions = $pagelog->getRevisions($n++, 1);
93 $rev = ($revisions !== []) ? $pagelog->getRevisionInfo($revisions[0]) : null;
105 $this->sendDigest(
110 $count++;
113 $this->sendList($USERINFO['mail'], $change_ids, $target);
114 $count++;
119 $subscriberManager->add($target, $user, $style, time());
121 $this->unlock($target);
126 $INPUT->server->set('REMOTE_USER', $olduser);
127 return $count;
147 if (is_dir($lock) && time() - @filemtime($lock) > 60 * 5) {
148 // looks like a stale lock - remove it
198 $rev = $pagelog->getRevisions($n++, 1);
202 // TODO I'm not happy with the following line and passing $this->mailer around. Not sure how to solve it better
203 $pageSubSender = new PageSubscriptionSender($this->mailer);
204 return $pageSubSender->sendPageDiff(
250 return $this->send(