ソースを参照

removed unused and unneeded hooks

pdontthink 21 年 前
コミット
30d23dca4e
3 ファイル変更1 行追加4 行削除
  1. 1 0
      ChangeLog
  2. 0 2
      doc/plugin.txt
  3. 0 2
      src/read_body.php

+ 1 - 0
ChangeLog

@@ -69,6 +69,7 @@ Version 1.5.1 -- CVS
   - Prefs caching didn't work properly with register_globals off (#995102).
   - Security: fix SQL injection vulnerability in addressbook
     (CVE ID: CAN-2004-0521).
+  - Removed html_top and html_bottom hooks.  No longer used/needed.
 
 Version 1.5.0
 --------------------

+ 0 - 2
doc/plugin.txt

@@ -308,10 +308,8 @@ but may be out of date soon thereafter.  You never know.  ;-)
   read_body_menu_top             src/read_body.php               hook_func
   read_body_menu_bottom          src/read_body.php               do_hook
   read_body_header_right         src/read_body.php               do_hook
-  html_top                       src/read_body.php               do_hook
   read_body_top                  src/read_body.php               do_hook
   read_body_bottom               src/read_body.php               do_hook
-  html_bottom                    src/read_body.php               do_hook
   login_before                   src/redirect.php                do_hook
   login_verified                 src/redirect.php                do_hook
   generic_header                 src/right_main.php              do_hook

+ 0 - 2
src/read_body.php

@@ -841,7 +841,6 @@ if (isset($passed_ent_id) && $passed_ent_id) {
 }
 $header = $message->header;
 
-do_hook('html_top');
 
 /****************************************/
 /* Block for handling incoming url vars */
@@ -949,7 +948,6 @@ if (($attachment_common_show_images) &&
 formatMenuBar($aMailbox, $passed_id, $passed_ent_id, $message, false, FALSE);
 
 do_hook('read_body_bottom');
-do_hook('html_bottom');
 sqimap_logout($imapConnection);
 /* sessions are written at the end of the script. it's better to register
    them at the end so we avoid double session_register calls */