From f00e7a9b0bc3d91f13f9c5752f1682f2959e9c8d Mon Sep 17 00:00:00 2001 From: pdontthink Date: Wed, 7 Feb 2007 04:59:52 +0000 Subject: [PATCH] Removing getButton(). Not being used anywhere in core any more. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12236 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/search.php | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/src/search.php b/src/search.php index 0f5e0f3c..54abb0f9 100644 --- a/src/search.php +++ b/src/search.php @@ -28,7 +28,8 @@ require_once(SM_PATH . 'functions/imap_asearch.php'); require_once(SM_PATH . 'functions/imap_messages.php'); require_once(SM_PATH . 'functions/imap_general.php'); require_once(SM_PATH . 'functions/mime.php'); -require_once(SM_PATH . 'functions/mailbox_display.php'); //getButton() +//FIXME - comment on next line seems to indicate this require is for the since removed getButton() function... the next line is thus being commented out... if this proves to be correct, please remove this and the next line completely +//require_once(SM_PATH . 'functions/mailbox_display.php'); //getButton() require_once(SM_PATH . 'functions/forms.php'); require_once(SM_PATH . 'functions/date.php'); require_once(SM_PATH . 'functions/compose.php'); @@ -622,26 +623,6 @@ function asearch_get_query_display(&$color, &$mailbox_array, &$biop_array, &$uno return $query_display; } -/** - * Creates button - * - * @deprecated see form functions available in 1.5.1 and 1.4.3. - * @param string $type - * @param string $name - * @param string $value - * @param string $js - * @param bool $enabled - */ -function getButton($type, $name, $value, $js = '', $enabled = TRUE) { - $disabled = ( $enabled ? '' : 'disabled ' ); - $js = ( $js ? $js.' ' : '' ); - return ''; -} - /** * Print a whole query array, recent or saved * -- 2.25.1