forked from Wavyzz/dolibarr
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 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.
|
||||
* 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 *****
|
||||
|
||||
@@ -3163,23 +3163,6 @@ function fieldLabel($langkey, $fieldkey, $fieldrequired = 0)
|
||||
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.
|
||||
* See https://en.wikipedia.org/wiki/Address
|
||||
@@ -12669,7 +12652,7 @@ function dolGetButtonTitleSeparator($moreClass = "")
|
||||
/**
|
||||
* get field error icon
|
||||
*
|
||||
* @param string $fieldValidationErrorMsg message to add in tooltip
|
||||
* @param string $fieldValidationErrorMsg Message to add in tooltip
|
||||
* @return string html output
|
||||
*/
|
||||
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
|
||||
* 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.
|
||||
*
|
||||
* @param string $prefix Prefix used to build the date selector (for instance using Form::selectDate)
|
||||
@@ -14720,7 +14703,6 @@ function buildParamDate($prefix, $timestamp = null, $hourTime = '', $gm = 'auto'
|
||||
* @param mixed $params Optional parameters to pass to hooks for further processing or customization.
|
||||
* @global Conf $conf Dolibarr configuration 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 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.
|
||||
|
||||
Reference in New Issue
Block a user