Created
November 29, 2011 17:37
-
-
Save bjeavons/1405652 to your computer and use it in GitHub Desktop.
Fix for undefined function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/acquia_spi/acquia_spi.install b/acquia_spi/acquia_spi.install | |
index 1a311c2..396429c 100644 | |
--- a/acquia_spi/acquia_spi.install | |
+++ b/acquia_spi/acquia_spi.install | |
@@ -21,12 +21,13 @@ function acquia_spi_uninstall() { | |
function acquia_spi_requirements($phase) { | |
$requirements = array(); | |
- $has_credentials = acquia_agent_has_credentials(); | |
$last_sent = variable_get('acquia_spi_cron_last', 0); | |
$use_cron = variable_get('acquia_spi_use_cron', 1); | |
switch ($phase) { | |
case 'runtime': | |
+ $has_credentials = acquia_agent_has_credentials(); | |
+ | |
if ($has_credentials) { | |
$key = md5(variable_get('acquia_key', '') . '-spi-send-' . drupal_get_private_key()); | |
$config_url = $description = $interval = ''; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment