X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Finfo%2Ffunctions.php;h=4b7df25c25f1323fcb4911250b7c3264ee1b4c85;hb=d05101b81527c04af28acda57b823d0e1d811e4a;hp=a62294a01efe792eba35d8bdd8a5a2eb885a68e8;hpb=6c84ba1ec45ab854c37b6f65c5b4d84ab1c7aad4;p=squirrelmail.git diff --git a/plugins/info/functions.php b/plugins/info/functions.php index a62294a0..4b7df25c 100644 --- a/plugins/info/functions.php +++ b/plugins/info/functions.php @@ -1,4 +1,5 @@ + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License - * @author Jason Munro jason@stdbev.com * @version $Id$ * @package plugins * @subpackage info @@ -49,7 +50,7 @@ function imap_test($imap_stream, $string) { * @access private */ function print_response($response) { - foreach($response as $index=>$value) { + foreach($response as $value) { if (is_array($value)) { print_response($value); } @@ -58,18 +59,3 @@ function print_response($response) { } } } - -/** - * Check if plugin is enabled - * @param string $plugin_name plugin name - * @return boolean - */ -function is_plugin_enabled($plugin_name) { - global $plugins; - if ( in_array($plugin_name,$plugins) ) { - return true; - } else { - return false; - } -} -?> \ No newline at end of file