Use clearer-named CheckForJavaScript in stead of !soupNazi.
[squirrelmail.git] / plugins / newmail / setup.php
index f416a7b4889ba6b0d07486c861a03dca8aef91b1..9364b9a76ef2844fd4262a7d6cf07798654d3e4d 100644 (file)
@@ -78,9 +78,8 @@
        // Gets added to the user's OPTIONS page.
        global $optpage_blocks;
 
        // Gets added to the user's OPTIONS page.
        global $optpage_blocks;
 
-       if ( !soupNazi() ) {
-
-           /* Register Squirrelspell with the $optionpages array. */
+       if ( checkForJavascript() ) {
+       /* Register Squirrelspell with the $optionpages array. */
            $optpage_blocks[] = array(
                'name' => _("NewMail Options"),
                'url'  => SM_PATH . 'plugins/newmail/newmail_opt.php',
            $optpage_blocks[] = array(
                'name' => _("NewMail Options"),
                'url'  => SM_PATH . 'plugins/newmail/newmail_opt.php',