mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
Remove not used method
This commit is contained in:
@@ -25,6 +25,7 @@ The following changes may create regressions for some external modules, but were
|
|||||||
* The experimental and deprecated module WebserviceClient is completely removed (SOAP technology is deprecated). May be replaced with the stable module Webhook.
|
* The experimental and deprecated module WebserviceClient is completely removed (SOAP technology is deprecated). May be replaced with the stable module Webhook.
|
||||||
* The dynamic properties ->no_button_delete, ->no_button_edit, ->no_button_copy for $object Product that could be set by an external module must no more
|
* The dynamic properties ->no_button_delete, ->no_button_edit, ->no_button_copy for $object Product that could be set by an external module must no more
|
||||||
be set (not allowed by PHP 8.2). A module can already return an array with key 'no_button_delete', 'no_button_edit', 'no_button_copy' for same purpose.
|
be set (not allowed by PHP 8.2). A module can already return an array with key 'no_button_delete', 'no_button_edit', 'no_button_copy' for same purpose.
|
||||||
|
* The old function dol_bc($var, $moreclass = '') has been removed. If you called it, just stop to call it.
|
||||||
|
|
||||||
|
|
||||||
***** ChangeLog for 20.0.0 compared to 19.0 *****
|
***** ChangeLog for 20.0.0 compared to 19.0 *****
|
||||||
|
|||||||
@@ -3163,23 +3163,6 @@ function fieldLabel($langkey, $fieldkey, $fieldrequired = 0)
|
|||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Return string to add class property on html element with pair/impair.
|
|
||||||
*
|
|
||||||
* @param boolean $var false or true
|
|
||||||
* @param string $moreclass More class to add
|
|
||||||
* @return string String to add class onto HTML element
|
|
||||||
*/
|
|
||||||
function dol_bc($var, $moreclass = '')
|
|
||||||
{
|
|
||||||
global $bc;
|
|
||||||
$ret = ' '.$bc[$var];
|
|
||||||
if ($moreclass) {
|
|
||||||
$ret = preg_replace('/class=\"/', 'class="'.$moreclass.' ', $ret);
|
|
||||||
}
|
|
||||||
return $ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a formatted address (part address/zip/town/state) according to country rules.
|
* Return a formatted address (part address/zip/town/state) according to country rules.
|
||||||
* See https://en.wikipedia.org/wiki/Address
|
* See https://en.wikipedia.org/wiki/Address
|
||||||
@@ -12669,7 +12652,7 @@ function dolGetButtonTitleSeparator($moreClass = "")
|
|||||||
/**
|
/**
|
||||||
* get field error icon
|
* get field error icon
|
||||||
*
|
*
|
||||||
* @param string $fieldValidationErrorMsg message to add in tooltip
|
* @param string $fieldValidationErrorMsg Message to add in tooltip
|
||||||
* @return string html output
|
* @return string html output
|
||||||
*/
|
*/
|
||||||
function getFieldErrorIcon($fieldValidationErrorMsg)
|
function getFieldErrorIcon($fieldValidationErrorMsg)
|
||||||
@@ -14678,7 +14661,7 @@ function show_actions_messaging($conf, $langs, $db, $filterobj, $objcon = null,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper function that combines values of a dolibarr DatePicker (such as Form::selectDate) for year, month, day (and
|
* Helper function that combines values of a dolibarr DatePicker (such as Form::selectDate) for year, month, day (and
|
||||||
* optionally hour, minute, second) fields to return a a portion of URL reproducing the values from the current HTTP
|
* optionally hour, minute, second) fields to return a portion of URL reproducing the values from the current HTTP
|
||||||
* request.
|
* request.
|
||||||
*
|
*
|
||||||
* @param string $prefix Prefix used to build the date selector (for instance using Form::selectDate)
|
* @param string $prefix Prefix used to build the date selector (for instance using Form::selectDate)
|
||||||
@@ -14713,14 +14696,13 @@ function buildParamDate($prefix, $timestamp = null, $hourTime = '', $gm = 'auto'
|
|||||||
* whether to include the header and footer, and if only the message should be shown without additional details.
|
* whether to include the header and footer, and if only the message should be shown without additional details.
|
||||||
* The function also supports executing additional hooks for customized handling of error pages.
|
* The function also supports executing additional hooks for customized handling of error pages.
|
||||||
*
|
*
|
||||||
* @param string $message Custom error message to display. If empty, a default "Record Not Found" message is shown.
|
* @param string $message Custom error message to display. If empty, a default "Record Not Found" message is shown.
|
||||||
* @param int<0,1> $printheader Determines if the page header should be printed (1 = yes, 0 = no).
|
* @param int<0,1> $printheader Determines if the page header should be printed (1 = yes, 0 = no).
|
||||||
* @param int<0,1> $printfooter Determines if the page footer should be printed (1 = yes, 0 = no).
|
* @param int<0,1> $printfooter Determines if the page footer should be printed (1 = yes, 0 = no).
|
||||||
* @param int<0,1> $showonlymessage If set to 1, only the error message is displayed without any additional information or hooks.
|
* @param int<0,1> $showonlymessage If set to 1, only the error message is displayed without any additional information or hooks.
|
||||||
* @param mixed $params Optional parameters to pass to hooks for further processing or customization.
|
* @param mixed $params Optional parameters to pass to hooks for further processing or customization.
|
||||||
* @global Conf $conf Dolibarr configuration object (global)
|
* @global Conf $conf Dolibarr configuration object (global)
|
||||||
* @global DoliDB $db Database connection object (global)
|
* @global DoliDB $db Database connection object (global)
|
||||||
* @global User $user Current user object (global)
|
|
||||||
* @global Translate $langs Language translation object, initialized within the function if not already.
|
* @global Translate $langs Language translation object, initialized within the function if not already.
|
||||||
* @global HookManager $hookmanager Hook manager object, initialized within the function if not already for executing hooks.
|
* @global HookManager $hookmanager Hook manager object, initialized within the function if not already for executing hooks.
|
||||||
* @global string $action Current action, can be modified by hooks.
|
* @global string $action Current action, can be modified by hooks.
|
||||||
|
|||||||
Reference in New Issue
Block a user