]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Favorite/lib/favcommand.php
Merge commit 'refs/merge-requests/30' of https://gitorious.org/social/mainline into...
[quix0rs-gnu-social.git] / plugins / Favorite / lib / favcommand.php
index d89b7f34217a4a576646a08af68e3af739452c28..cf5ca79218ed293377555b7213ea2d92c37748a7 100644 (file)
@@ -32,19 +32,6 @@ class FavCommand extends Command
             return;
         }
  
-        // @fixme favorite notification should be triggered 
-        // at a lower level 
-        $other = User::getKV('id', $notice->profile_id); 
-        if ($other && $other->id != $this->user->id && !empty($other->email)) { 
-            require_once INSTALLDIR.'/lib/mail.php';
-
-            mail_notify_fave($other, $this->user->getProfile(), $notice);
-        } 
-        Fave::blowCacheForProfileId($this->user->id);
         // TRANS: Text shown when a notice has been marked as favourite successfully. 
         $channel->output($this->user, _('Notice marked as fave.')); 
     }