X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Finfo%2Ffunctions.php;h=3e1bf2332b2fed97681a46b4fdc4621ae0ab330e;hb=7777a96853034691f5f6c2dcfc0a1e2542848d1b;hp=8290f2ec03d29712263cffecbafeb1c92671f3a2;hpb=ce68b76bfdef63cbc85d7bc46f7f1d538db9b4a4;p=squirrelmail.git diff --git a/plugins/info/functions.php b/plugins/info/functions.php index 8290f2ec..3e1bf233 100644 --- a/plugins/info/functions.php +++ b/plugins/info/functions.php @@ -1,16 +1,17 @@ + * @copyright 1999-2010 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