Skip to content

Commit

Permalink
Merge pull request #278 from AntoineLemarchand/stable
Browse files Browse the repository at this point in the history
fix: deprecated functions
  • Loading branch information
minzords committed May 6, 2024
2 parents 8dc6eca + a18a157 commit aa72096
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions inc/commondbtm.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
**/
class CommonDBTM extends CommonGLPI {

private $right = null;
private $input = [];

/**
* Data fields of the Item.
*
Expand Down
2 changes: 1 addition & 1 deletion inc/config.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ function formatLayout(layout) {
Dropdown::showFromArray(
'timezone',
$timezones, [
'value' => $data["timezone"],
'value' => isset($data["timezone"]) ? $data["timezone"] : null,
'display_emptychoice' => true,
'emptylabel' => __('Use server configuration')
]
Expand Down
2 changes: 2 additions & 0 deletions inc/dbmysqliterator.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class DBmysqlIterator implements Iterator, Countable {
'|'
];

private $parameters = [];

/**
* Constructor
*
Expand Down
1 change: 1 addition & 0 deletions inc/htmltablegroup.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class HTMLTableGroup extends HTMLTableBase {
private $table;
private $rows = [];

private $ordered_headers;

/**
* @param $table HTMLTableMain object
Expand Down
1 change: 1 addition & 0 deletions inc/htmltablemain.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
class HTMLTableMain extends HTMLTableBase {


private $title = '';
private $groups = [];
private $itemtypes = [];

Expand Down
5 changes: 5 additions & 0 deletions inc/massiveaction.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ class MassiveAction {
const ACTION_KO = 2;
const ACTION_NORIGHT = 3;

private $POST;
private $items;
private $check_item;
private $nb_items;


/**
* Constructor of massive actions.
Expand Down
2 changes: 2 additions & 0 deletions inc/networkport.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ class NetworkPort extends CommonDBChild {

static $rightname = 'networking';

private $item;


function getForbiddenStandardMassiveAction() {

Expand Down

0 comments on commit aa72096

Please sign in to comment.