diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-11 11:53:38 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-11-11 11:53:38 -0800 |
commit | 58237ba0b26f52a5634adf81f73492fea3961c3b (patch) | |
tree | 2c8ef089df8b211a912df59b7ca5ee532722a4ef /modules/simpletest/tests/update_script_test.module | |
parent | 4c994207662887d44f54ccd281e997e92b08fc67 (diff) | |
download | brdo-58237ba0b26f52a5634adf81f73492fea3961c3b.tar.gz brdo-58237ba0b26f52a5634adf81f73492fea3961c3b.tar.bz2 |
Issue #1049284 by xjm: Fixed Running update.php to flush caches no longer works unless there are updates pending.
Diffstat (limited to 'modules/simpletest/tests/update_script_test.module')
-rw-r--r-- | modules/simpletest/tests/update_script_test.module | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/simpletest/tests/update_script_test.module b/modules/simpletest/tests/update_script_test.module index b3d9bbc7f..beb5a71ec 100644 --- a/modules/simpletest/tests/update_script_test.module +++ b/modules/simpletest/tests/update_script_test.module @@ -1 +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.')); +} |