summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/openid/tests/openid_test.install
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/openid/tests/openid_test.install')
-rw-r--r--kolab.org/www/drupal-7.26/modules/openid/tests/openid_test.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/openid/tests/openid_test.install b/kolab.org/www/drupal-7.26/modules/openid/tests/openid_test.install
new file mode 100644
index 0000000..d30e2dc
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/openid/tests/openid_test.install
@@ -0,0 +1,17 @@
+<?php
+
+/**
+ * @file
+ * Install, update and uninstall functions for the openid_test module.
+ */
+
+/**
+ * Implements hook_install().
+ */
+function openid_test_install() {
+ module_load_include('inc', 'openid');
+ // Generate a MAC key (Message Authentication Code) used for signing messages.
+ // The variable is base64-encoded, because variables cannot contain non-UTF-8
+ // data.
+ variable_set('openid_test_mac_key', drupal_random_key(20));
+}