diff --git holding.module holding.module
index 21b18ec..654443a 100644
--- holding.module
+++ holding.module
@@ -29,7 +29,7 @@ function holding_boot() {
   }  
 
   // Allow drush through
-  if (php_sapi_name() == 'cli' || (is_numeric($_SERVER['argc']) && $_SERVER['argc'] > 0)) {
+  if (drupal_is_cli()) {
     return;
   }
 
