Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GLPI
glpi
Commits
7cb5ac17
Commit
7cb5ac17
authored
May 12, 2021
by
Cédric Anne
Committed by
Johan Cwiklinski
May 17, 2021
Browse files
Deprecate unused CommonITILTask::showInObjectSumnary()
parent
a3ad72ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
7cb5ac17
...
...
@@ -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
...
...
inc/commonitiltask.class.php
View file @
7cb5ac17
...
...
@@ -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'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment