1 | <?php |
||
8 | class DBStaticFleetACS { |
||
9 | |||
10 | /* ACS ****************************************************************************************************************/ |
||
11 | /** |
||
12 | * @param $aks_id |
||
13 | * |
||
14 | * @return array |
||
15 | */ |
||
16 | public static function db_acs_get_by_group_id($aks_id) { |
||
23 | |||
24 | /** |
||
25 | * Purges AKS list |
||
26 | */ |
||
27 | // USED AS CALLABLE - SEARCH FOR STRING!!!!!!! |
||
|
|||
28 | public static function db_fleet_aks_purge() { |
||
37 | |||
38 | /** |
||
39 | * @return array|bool|mysqli_result|null |
||
40 | */ |
||
41 | public static function db_acs_get_list() { |
||
46 | |||
47 | /** |
||
48 | * @param $fleetid |
||
49 | * |
||
50 | * @return array|bool|mysqli_result|null |
||
51 | */ |
||
52 | public static function db_acs_get_by_fleet($fleetid) { |
||
57 | |||
58 | /** |
||
59 | * @param $fleetid |
||
60 | * @param $userId |
||
61 | * @param $objFleet |
||
62 | */ |
||
63 | public static function db_acs_insert($fleetid, $userId, $objFleet) { |
||
77 | |||
78 | /** |
||
79 | * @param $userToAddID |
||
80 | * @param $fleetid |
||
81 | * |
||
82 | * @return array|bool|mysqli_result|null |
||
83 | */ |
||
84 | public static function db_acs_update($userToAddID, $fleetid) { |
||
87 | |||
88 | |||
89 | /** |
||
90 | * @param $fleet_group_id_list |
||
91 | */ |
||
92 | public static function db_acs_delete_by_list($fleet_group_id_list) { |
||
101 | |||
102 | |||
103 | } |
||
104 |
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.
The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.
This check looks for comments that seem to be mostly valid code and reports them.