- if(!$conf['subscribers']) return false; //subscribers enabled?
-@@ -1155,9 +1155,9 @@
- $to = '';
- $text = rawLocale('subscr_single');
- } elseif($who == 'register') {
+ if(!actionOK('subscribe')) return false; //subscribers enabled?
+ if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return false; //skip minors
+--- dokuwiki-2013-05-10/inc/media.php~ 2013-05-10 15:45:54.000000000 +0300
++++ dokuwiki-2013-05-10/inc/media.php 2013-05-28 22:49:27.423136743 +0300
+@@ -551,10 +551,11 @@
+ */
+ function media_notify($id,$file,$mime,$old_rev=false){
+ global $conf;
+- if(empty($conf['notify'])) return; //notify enabled?
++ $to = notifyNS($id, $conf['notify']);
++ if(empty($to)) return; //notify enabled?
+
+ $subscription = new Subscription();
+- return $subscription->send_media_diff($conf['notify'], 'uploadmail', $id, $old_rev, '');
++ return $subscription->send_media_diff($to, 'uploadmail', $id, $old_rev, '');
+ }
+
+ /**
+--- dokuwiki-2013-05-10/inc/subscription.php~ 2013-05-10 15:45:54.000000000 +0300
++++ dokuwiki-2013-05-10/inc/subscription.php 2013-05-28 22:50:30.872112776 +0300
+@@ -484,7 +484,8 @@
+ */
+ public function send_register($login, $fullname, $email) {
+ global $conf;