]>
Commit | Line | Data |
---|---|---|
1 | Upstream: https://github.com/dokuwiki/dokuwiki/pull/2651 | |
2 | ||
3 | --- dokuwiki-2022-07-31a/inc/common.php~ 2022-09-03 20:15:22.000000000 +0300 | |
4 | +++ dokuwiki-2022-07-31a/inc/common.php 2023-03-30 18:03:39.419419351 +0300 | |
5 | @@ -1319,6 +1319,7 @@ | |
6 | // decide if there is something to do, eg. whom to mail | |
7 | if ($who == 'admin') { | |
8 | if (empty($conf['notify'])) return false; //notify enabled? | |
9 | + if ($conf['useacl'] && $INPUT->server->str('REMOTE_USER') && $minor) return false; //skip minors | |
10 | $tpl = 'mailtext'; | |
11 | $to = $conf['notify']; | |
12 | } elseif ($who == 'subscribers') { |