diff --git a/apdqc.install b/apdqc.install
index 14175bb..c0be1b2 100644
--- a/apdqc.install
+++ b/apdqc.install
@@ -148,6 +148,7 @@ function apdqc_requirements($phase) {
       'description' => $t('Currently APDQC only works with MySQL.'),
       'severity' => REQUIREMENT_ERROR,
     );
+    return $requirements;
   }
 
   // Only working with php 5.3+.
@@ -158,6 +159,7 @@ function apdqc_requirements($phase) {
       'description' => $t('Currently APDQC only works with PHP 5.3 or newer.'),
       'severity' => REQUIREMENT_ERROR,
     );
+    return $requirements;
   }
 
   // Make sure the apdqc constants are defined.
