stekkel 23 년 전
부모
커밋
e3da01a3b3
1개의 변경된 파일2개의 추가작업 그리고 6개의 파일을 삭제
  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;
    global $uid_support;
 
 
    $header_full = array();
    $header_full = array();
@@ -56,12 +56,8 @@ function  parse_viewheader($imapConnection,$id,$template_vars) {
             $header_output[] = array($f,$s);
             $header_output[] = array($f,$s);
         }
         }
     }
     }
-
     sqimap_logout($imapConnection);
     sqimap_logout($imapConnection);
-
-    $template_vars['full_header'] = $header_output;
-
-    return $template_vars;
+    return $header_output;
 }
 }
 
 
 function view_header($template_vars, $pageheader='', $pagefooter='') {
 function view_header($template_vars, $pageheader='', $pagefooter='') {