stekkel 23 năm trước cách đây
mục cha
commit
e3da01a3b3
1 tập tin đã thay đổi với 2 bổ sung6 xóa
  1. 2 6
      src/view_header.php

+ 2 - 6
src/view_header.php

@@ -12,7 +12,7 @@
  */
 
 
-function  parse_viewheader($imapConnection,$id,$template_vars) {
+function  parse_viewheader($imapConnection,$id) {
    global $uid_support;
 
    $header_full = array();
@@ -56,12 +56,8 @@ function  parse_viewheader($imapConnection,$id,$template_vars) {
             $header_output[] = array($f,$s);
         }
     }
-
     sqimap_logout($imapConnection);
-
-    $template_vars['full_header'] = $header_output;
-
-    return $template_vars;
+    return $header_output;
 }
 
 function view_header($template_vars, $pageheader='', $pagefooter='') {