<?php
+
/**
* functions for info plugin
*
* The third prints the results of the IMAP command
* to options.php.
*
- * @copyright (c) 1999-2004 The SquirrelMail Project Team
+ * @author Jason Munro <jason at stdbev.com>
+ * @copyright 1999-2009 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
* @access private
*/
function print_response($response) {
- foreach($response as $index=>$value) {
+ foreach($response as $value) {
if (is_array($value)) {
print_response($value);
}
}
}
}
-
-/**
- * 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