- added a bunch of sqimap_logout's where none existed
[squirrelmail.git] / src / options_folder.php
index 4955f35ba6210fe34b54f15ca9832804fcdef04f..306f91488706e083b83199817653cfc59a8b384b 100644 (file)
@@ -31,8 +31,7 @@
 
    $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
    $boxes = sqimap_mailbox_list($imapConnection, $boxes);
-   fputs($imapConnection, "1 logout\n");
-
+   sqimap_logout($imapConnection);
 ?>
    <table width=100% align=center border=0 cellpadding=2 cellspacing=0><tr><td bgcolor="<? echo $color[0] ?>">
       <center><b><? echo _("Options") . " - " . _("Folder Preferences"); ?></b></center>