/**
** setup.php -- Squirrelspell setup file
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This is a standard Squirrelmail-1.2 API for plugins.
** $Id$
**/
- /**
- * This function checks whether the user's USER_AGENT is known to
- * be broken. If so, returns true and the plugin is invisible to the
- * offending browser.
- */
- function soupNazi(){
-
- global $HTTP_USER_AGENT, $SQSPELL_SOUP_NAZI;
-
- require_once('../plugins/squirrelspell/sqspell_config.php');
-
- $soup_menu = explode( ',', $SQSPELL_SOUP_NAZI );
- return( in_array( trim( $HTTP_USER_AGENT ), $soup_menu ) );
- }
-
function squirrelmail_plugin_init_squirrelspell() {
/* Standard initialization API. */
global $squirrelmail_plugin_hooks;