| 1 | <?php |
||
| 3 | class DBStaticQue { |
||
| 4 | |||
| 5 | public static function db_que_list_by_type_location($user_id, $planet_id = null, $que_type = false, $for_update = false) { |
||
| 8 | |||
| 9 | public static function db_que_list_stat() { |
||
| 12 | |||
| 13 | public static function db_que_set_time_left_by_id($que_id, $que_time_left) { |
||
| 17 | |||
| 18 | public static function db_que_set_insert($set) { |
||
| 22 | |||
| 23 | public static function db_que_delete_by_id($que_id) { |
||
| 27 | |||
| 28 | public static function db_que_planet_change_owner($planet_id, $new_owner_id) { |
||
| 31 | |||
| 32 | public static function db_que_research_change_origin($planet_id, $new_planet_id) { |
||
| 35 | |||
| 36 | } |
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.