Merge pull request #23816 from frederic34/patch-4

doc
This commit is contained in:
Laurent Destailleur 2023-02-09 15:39:19 +01:00 committed by GitHub
commit 69683f5abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<?php <?php
/* Copyright (C) 2013-2018 Jean-François Ferry <hello@librethic.io> /* Copyright (C) 2013-2018 Jean-François Ferry <hello@librethic.io>
* Copyright (C) 2016 Christophe Battarel <christophe@altairis.fr> * Copyright (C) 2016 Christophe Battarel <christophe@altairis.fr>
* Copyright (C) 2019-2022 Frédéric France <frederic.france@netlogic.fr> * Copyright (C) 2019-2023 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2020 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2020 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
@ -198,6 +198,26 @@ class Ticket extends CommonObject
*/ */
public $cache_category_tickets; public $cache_category_tickets;
/**
* @var array tickets severity
*/
public $cache_severity_tickets;
/**
* @var array cache msgs ticket
*/
public $cache_msgs_ticket;
/**
* @var array statuts labels
*/
public $statuts;
/**
* @var array statuts short labels
*/
public $statuts_short;
/** /**
* @var int Notify thirdparty at create * @var int Notify thirdparty at create
*/ */
@ -219,7 +239,7 @@ class Ticket extends CommonObject
public $oldcopy; public $oldcopy;
/** /**
* @var array array of TicketsLine * @var TicketsLine[] array of TicketsLine
*/ */
public $lines; public $lines;
@ -1251,7 +1271,7 @@ class Ticket extends CommonObject
{ {
global $conf, $langs; global $conf, $langs;
if (!empty($this->cache_category_ticket) && count($this->cache_category_tickets)) { if (!empty($this->cache_category_tickets) && count($this->cache_category_tickets)) {
// Cache already loaded // Cache already loaded
return 0; return 0;
} }