diff --git a/apachesolr.install b/apachesolr.install
index cac920d..5b57e2a 100644
--- a/apachesolr.install
+++ b/apachesolr.install
@@ -10,10 +10,13 @@
  */
 function apachesolr_requirements($phase) {
   $requirements = array();
+  if ($phase != 'runtime') {
+    return $requirements;
+  }
   $file_exists = file_exists(dirname(__FILE__) . '/SolrPhpClient/Apache/Solr/Service.php');
   // Ensure translations don't break at install time
   $t = get_t();
-  if ($phase == 'runtime' && $file_exists) {
+  if ($file_exists) {
     $host = variable_get('apachesolr_host', 'localhost');
     $port = variable_get('apachesolr_port', 8983);
     $path = variable_get('apachesolr_path', '/solr');
@@ -21,7 +24,6 @@ function apachesolr_requirements($phase) {
     try {
       $solr = apachesolr_get_solr();
       $ping = @$solr->ping(variable_get('apachesolr_ping_timeout', 4));
-      // If there is no $solr object, there is no server available, so don't continue.
       if (!$ping) {
         throw new Exception(t('No Solr instance available when checking requirements.'));
       }
@@ -41,7 +43,7 @@ function apachesolr_requirements($phase) {
       'severity' => $severity,
     );
   }
-  // All phases
+  // Check the version of the library.
   $title = $t('Apache Solr PHP Client Library');
   if ($file_exists) {
     $expected_revision = 'Revision: 22';
