Updates to reflex removal of sqextractGlobalVar
authorjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Feb 2003 23:13:13 +0000 (23:13 +0000)
committerjangliss <jangliss@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 7 Feb 2003 23:13:13 +0000 (23:13 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4510 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/spamcop/options.php
plugins/spamcop/setup.php
src/addrbook_search.php
src/view_text.php

index 8892ef3..c4298c8 100755 (executable)
@@ -15,9 +15,9 @@ require_once(SM_PATH . 'include/validate.php');
 displayPageHeader($color, 'None');
    
 /* globals */
-sqextractGlobalVar('action');
-sqextractGlobalVar('meth');
-sqextractGlobalVar('ID');
+sqgetGlobalVar('action', $action);
+sqgetGlobalVar('meth', $meth);
+sqgetGlobalVar('ID' , $meth);
 extract($_SESSION);
 /* end of globals */
 
index cf4d086..21d472f 100755 (executable)
@@ -23,7 +23,7 @@ function squirrelmail_plugin_init_spamcop() {
    $squirrelmail_plugin_hooks['read_body_header_right']['spamcop'] =
       'spamcop_show_link';
 
-   sqextractGlobalVar('spamcop_is_composing');
+    sqgetGlobalVar('spamcop_is_composing' , $spamcop_is_composing);
       
    if (isset($spamcop_is_composing)) {
       $squirrelmail_plugin_hooks['compose_send']['spamcop'] =
index 89143a8..3eff931 100644 (file)
@@ -29,7 +29,7 @@ $username = $_SESSION['username'];
 $onetimepad = $_SESSION['onetimepad'];
 $base_uri = $_SESSION['base_uri'];
 
-sqextractGlobalVar('show');
+sqgetGlobalVar('show' , $show);
 if ( isset($_POST['query']) ) {
     $query = $_POST['query'];
 }
index 0aa24e9..803c4ac 100644 (file)
@@ -40,7 +40,7 @@ $key = $_COOKIE['key'];
 $delimiter = $_SESSION['delimiter'];
 $onetimepad = $_SESSION['onetimepad'];
 $QUERY_STRING = $_SERVER['QUERY_STRING'];
-sqextractGlobalVar('messages');
+sqgetGlobalVar('messages', $messages);
 
 $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 $mbx_response =  sqimap_mailbox_select($imapConnection, $mailbox);