/**
  * Return a list of patterns to check
  *
  * @return array string patterns to check
  */
 static function getPatterns()
 {
     $patterns = self::cacheGet('homepage_blacklist:patterns');
     if ($patterns === false) {
         $patterns = array();
         $nb = new Homepage_blacklist();
         $nb->find();
         while ($nb->fetch()) {
             $patterns[] = $nb->pattern;
         }
         self::cacheSet('homepage_blacklist:patterns', $patterns);
     }
     return $patterns;
 }