2c2 < index 23199a8..c3be627 100644 --- > index 23199a8..3ce01d1 100644 32c32 < @@ -66,16 +68,29 @@ function hosting_lets_encrypt_queue($count) { --- > @@ -66,17 +68,34 @@ function hosting_lets_encrypt_queue($count) { 39a40,44 > + $parameters = array( > + ':https' => array(HOSTING_HTTPS_ENABLED, HOSTING_HTTPS_REQUIRED), > + ':enabled' => HOSTING_SITE_ENABLED, > + ); > + 43a49 > + $parameters[':time'] = time() - (86400 * 7 * 4); 47a54 > + $parameters[':count'] = $limit; 54a62,64 > - ':https' => array(HOSTING_HTTPS_ENABLED, HOSTING_HTTPS_REQUIRED), > - ':enabled' => HOSTING_SITE_ENABLED, > - ))) { 56,61c66,68 < + . 'ORDER BY s.verified ASC' . $limit_extra, array( < ':https' => array(HOSTING_HTTPS_ENABLED, HOSTING_HTTPS_REQUIRED), < ':enabled' => HOSTING_SITE_ENABLED, < + ':time' => time() - (86400 * 7 * 4), < + ':count' => $limit, < ))) { --- > + . 'ORDER BY s.verified ASC' . $limit_extra, $parameters) > + ) > + { 63a71 > }