Commit 7cb5ac17 authored by Cédric Anne's avatar Cédric Anne Committed by Johan Cwiklinski
Browse files

Deprecate unused CommonITILTask::showInObjectSumnary()

parent a3ad72ef
......@@ -3,7 +3,15 @@
The present file will list all changes made to the project; according to the
[Keep a Changelog](http://keepachangelog.com/) project.
## [9.5.5] unreleased
## [9.5.6] unreleased
### API changes
#### Deprecated
- `CommonITILTask::showInObjectSumnary()`
## [9.5.5] 2021-04-13
### API changes
......@@ -11,7 +19,6 @@ The present file will list all changes made to the project; according to the
- Remove deprecation of `Search::getMetaReferenceItemtype()`
## [9.5.4] 2021-03-02
### Changed
......
......@@ -1278,8 +1278,12 @@ abstract class CommonITILTask extends CommonDBTM implements CalDAVCompatibleItem
* @param $item CommonITILObject
* @param $rand
* @param $showprivate (false by default)
*
* @deprecated 9.5.6
**/
function showInObjectSumnary(CommonITILObject $item, $rand, $showprivate = false) {
Toolbox::deprecated();
global $CFG_GLPI;
$canedit = (isset($this->fields['can_edit']) && !$this->fields['can_edit']) ? false : $this->canEdit($this->fields['id']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment