]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/subscribe.php
remove tag URI stuff; unused and confusing
[quix0rs-gnu-social.git] / actions / subscribe.php
index 6499705ec8c674fdb67bfea6c6a9e765c076ae9a..43506a593dd7d1eca17e65011a373aac27209fa9 100644 (file)
@@ -73,7 +73,7 @@ class SubscribeAction extends Action {
        }
 
        function notify_email($listenee, $listener) {
-               if ($listenee->email) {
+               if ($listenee->email && $listenee->emailnotifysub) {
                        $profile = $listenee->getProfile();
                        $other = $listener->getProfile();
                        $name = $profile->getBestName();