Improve attachment file handling: use one new function to create a temp
[squirrelmail.git] / plugins / info / options.php
index 85677c19448a674c4cd6c89bb74203fa54cbce3d..278e22c20dae61a13843f456c2f97bee4190f3d2 100644 (file)
@@ -42,8 +42,6 @@ if (! is_plugin_enabled('info')) {
 }
 
 /* GLOBALS */
-sqgetGlobalVar('username', $username, SQ_SESSION);
-
 sqgetGlobalVar('submit', $submit, SQ_POST);
 
 for($i = 0; $i <= 9; $i++){
@@ -205,6 +203,6 @@ sqimap_logout($imap_stream);
  *
  * Hook allows attaching plugin to bottom of info plugin
  */
-do_hook('info_bottom');
+do_hook('info_bottom', $null);
 ?>
-</body></html>
\ No newline at end of file
+</body></html>