summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.26/modules/simpletest/tests/update_script_test.module
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.26/modules/simpletest/tests/update_script_test.module')
-rw-r--r--kolab.org/www/drupal-7.26/modules/simpletest/tests/update_script_test.module18
1 files changed, 18 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.26/modules/simpletest/tests/update_script_test.module b/kolab.org/www/drupal-7.26/modules/simpletest/tests/update_script_test.module
new file mode 100644
index 0000000..beb5a71
--- /dev/null
+++ b/kolab.org/www/drupal-7.26/modules/simpletest/tests/update_script_test.module
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * @file
+ * This file provides testing functionality for update.php.
+ */
+
+/**
+ * Implements hook_flush_caches().
+ *
+ * This sets a message to confirm that all caches are cleared whenever
+ * update.php completes.
+ *
+ * @see UpdateScriptFunctionalTest::testRequirements()
+ */
+function update_script_test_flush_caches() {
+ drupal_set_message(t('hook_flush_caches() invoked for update_script_test.module.'));
+}