Ejemplo n.º 1
0
 /**
  * retrieves the number of entries that needs the links retested
  *
  * @result  int
  * @access  public
  * @author  Minoru TODA <*****@*****.**>
  * @since   2005-09-29
  */
 function getUntestedEntriesCount()
 {
     $interval = $this->getURLValidateInterval();
     $query = "SELECT COUNT(*) FROM " . SQLPREFIX . "faqdata WHERE links_check_date < " . $interval;
     $result = $this->db->query($query);
     $untestedCount = 0;
     while ($row = $this->db->fetch_row($result)) {
         list($untestedCount) = $row;
     }
     return $untestedCount;
 }