change todo

This commit is contained in:
Yuri Kuznetsov
2023-07-01 17:54:10 +03:00
parent 95b1560c8a
commit 8ac34018ab
9 changed files with 11 additions and 11 deletions
@@ -95,7 +95,7 @@ class EnumType
$value = $entity->get($field);
// For bc.
// @todo Remove in v8.0.
// @todo Remove in v9.0.
if ($value === '') {
$value = null;
}
@@ -258,7 +258,7 @@ class LinkMultipleType
);
// For bc.
// @todo Remove in v8.0.
// @todo Remove in v9.0.
if ($value === '') {
$value = null;
}
+1 -1
View File
@@ -31,7 +31,7 @@ namespace Espo\Core\Notificators;
/**
* @deprecated As of v6.0.
* @todo Remove in v8.0.
* @todo Remove in v9.0.
*/
class Base extends DefaultNotificator
{
@@ -31,6 +31,6 @@ namespace Espo\Core\Select\AccessControl;
/**
* @deprecated Use `\Espo\Core\Select\AccessControl\FilterResolvers\Bypass` instead.
* @todo Remove in v8.0.
* @todo Remove in v9.0.
*/
class BypassFilterResolver extends \Espo\Core\Select\AccessControl\FilterResolvers\Bypass {}
@@ -46,7 +46,7 @@ class HasMany implements LinkConverter
{
if (!$linkDefs->hasForeignRelationName() && $linkDefs->getParam('disabled')) {
// For bc.
// @todo Remove in v8.0.
// @todo Remove in v9.0.
return EntityDefs::create();
}
@@ -27,7 +27,7 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
/** @todo Remove in v8.0. */
/** @todo Remove in v9.0. */
$map = [
['Laminas\\Mail\\Protocol\\Smtp', 'Zend\\Mail\\Protocol\\Smtp'],
+1 -1
View File
@@ -1000,7 +1000,7 @@ class Model {
/**
* @deprecated Use `getClonedAttributes`.
* @todo Remove in v8.0.
* @todo Remove in v9.0.
* @return {Object.<string, *>}
*/
toJSON() {
+3 -3
View File
@@ -327,7 +327,7 @@ class View extends BullView {
* Ajax request.
*
* @deprecated Use `Espo.Ajax`.
* @todo Remove in v8.0.
* @todo Remove in v9.0.
* @param {string} url An URL.
* @param {string} type A method.
* @param {any} [data] Data.
@@ -343,7 +343,7 @@ class View extends BullView {
* POST request.
*
* @deprecated Use `Espo.Ajax.postRequest`.
* @todo Remove in v8.0.
* @todo Remove in v9.0.
* @param {string} url An URL.
* @param {any} [data] Data.
* @param {Object} [options] Options.
@@ -358,7 +358,7 @@ class View extends BullView {
* GET request.
*
* @deprecated Use `Espo.Ajax.getRequest`.
* @todo Remove in v8.0.
* @todo Remove in v9.0.
* @param {string} url An URL.
* @param {any} [data] Data.
* @param {Object} [options] Options.
+1 -1
View File
@@ -281,7 +281,7 @@ class ModalView extends View {
this.buttonList = Espo.Utils.cloneDeep(this.buttonList);
this.dropdownItemList = Espo.Utils.cloneDeep(this.dropdownItemList);
// @todo Remove in v8.0.
// @todo Remove in v9.0.
this.buttons = Espo.Utils.cloneDeep(this.buttons);
if (this.shortcutKeys) {