From 6391f3aa694c140a176d3daf1b3bb7e6f62353a2 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 25 Jul 2004 09:04:36 +0000 Subject: [PATCH] removed unused and unneeded hooks git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7770 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 1 + doc/plugin.txt | 2 -- src/read_body.php | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 91fcc1b3..27de1429 100644 --- a/ChangeLog +++ b/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 -------------------- diff --git a/doc/plugin.txt b/doc/plugin.txt index 6116ae6e..404506a0 100644 --- a/doc/plugin.txt +++ b/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 diff --git a/src/read_body.php b/src/read_body.php index 069d3a7b..eb8c9ad3 100644 --- a/src/read_body.php +++ b/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 */ -- 2.25.1