X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Finfo%2Ffunctions.php;h=7605ecc9e78ae27cc1f8e6d02eb10f8f6ef74caa;hp=a62294a01efe792eba35d8bdd8a5a2eb885a68e8;hb=55e346263751f3100c780b2d3aee268b6fa3232d;hpb=6c84ba1ec45ab854c37b6f65c5b4d84ab1c7aad4 diff --git a/plugins/info/functions.php b/plugins/info/functions.php index a62294a0..7605ecc9 100644 --- a/plugins/info/functions.php +++ b/plugins/info/functions.php @@ -1,4 +1,5 @@ + * @copyright 1999-2011 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