Browse Source

drop two unneeded globals

Thijs Kinkhorst 18 years ago
parent
commit
4ae0889ab8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/squirrelspell/sqspell_functions.php

+ 2 - 2
plugins/squirrelspell/sqspell_functions.php

@@ -119,7 +119,7 @@ function squirrelspell_upgrade_function() {
  * @return            void
  */
 function sqspell_makePage($title, $scriptsrc, $body){
-  global $color, $SQSPELL_VERSION;
+  global $color;
 
   if (! sqgetGlobalVar('MOD', $MOD, SQ_GET) ) {
       $MOD = 'options_main';
@@ -186,7 +186,7 @@ function sqspell_makePage($title, $scriptsrc, $body){
  * @return            void
  */
 function sqspell_makeWindow($onload, $title, $scriptsrc, $body){
-  global $color, $SQSPELL_VERSION;
+  global $color;
 
   displayHtmlHeader($title,
       ($scriptsrc ? "\n<script type=\"text/javascript\" src=\"js/$scriptsrc\"></script>\n" : ''));