From: Andrew Dolgov Date: Wed, 23 Jan 2013 12:33:43 +0000 (+0400) Subject: subtoolbar: only show mail action if plugin is enabled X-Git-Tag: 1.7.0~23 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d147154cca80c916a9c21f188ae3268810c87ac8;p=tt-rss.git subtoolbar: only show mail action if plugin is enabled --- diff --git a/classes/feeds.php b/classes/feeds.php index 15856313..d7e641ee 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -119,8 +119,12 @@ class Feeds extends Handler_Protected { } - $reply .= ""; + global $pluginhost; + + if ($pluginhost->get_plugin("mail")) { + $reply .= ""; + } $reply .= "";