Retire Marc. We should probably retire some others who haven't contributed in the...
[squirrelmail.git] / plugins / info / functions.php
index a62294a01efe792eba35d8bdd8a5a2eb885a68e8..3e1bf2332b2fed97681a46b4fdc4621ae0ab330e 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 /**
  * functions for info plugin
  *
@@ -8,9 +9,9 @@
  * The third prints the results of the IMAP command
  * to options.php.
  *
- * @copyright (c) 1999-2005 The SquirrelMail Project Team
+ * @author Jason Munro <jason at stdbev.com>
+ * @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