From d147154cca80c916a9c21f188ae3268810c87ac8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 23 Jan 2013 16:33:43 +0400 Subject: [PATCH] subtoolbar: only show mail action if plugin is enabled --- classes/feeds.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 .= ""; -- 2.39.5