Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Corallo committed Jul 9, 2011
1 parent 939fcd6 commit 4bb9f85
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions global.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,6 @@ function query_unaccepting() {
}
}

function query_unaccepting() {
global $db, $CONFIG;
$current_time = time() - $CONFIG['UNACCEP_CHECK_RATE'];
return $db->query("SELECT ipv4, port FROM nodes WHERE last_check < " . $current_time . " AND accepts_incoming = 0 ORDER BY last_check DESC;");
}

function init_results($result) {
$rows = array();
$row = $result->fetchArray(SQLITE3_ASSOC);
Expand Down

0 comments on commit 4bb9f85

Please sign in to comment.