summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/url_alter_test.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-24 05:13:44 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-24 05:13:44 +0000
commitcd7b8f099996c46a58b354ae262852d222306e74 (patch)
tree1e7725d67472a1c203ce418f90e2fb48716efd37 /modules/simpletest/tests/url_alter_test.install
parentdec6514c3b2d889c3a9fb19731e49e83d554392c (diff)
downloadbrdo-cd7b8f099996c46a58b354ae262852d222306e74.tar.gz
brdo-cd7b8f099996c46a58b354ae262852d222306e74.tar.bz2
#320331 by Dave Reid, dww, John Morahan, cwgordon7, moshe weitzman, c960657, and smoothify: Turn custom_url_rewrite_inbound() and custom_url_rewrite_outbound() into hooks.
Diffstat (limited to 'modules/simpletest/tests/url_alter_test.install')
-rw-r--r--modules/simpletest/tests/url_alter_test.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/simpletest/tests/url_alter_test.install b/modules/simpletest/tests/url_alter_test.install
new file mode 100644
index 000000000..89454f37e
--- /dev/null
+++ b/modules/simpletest/tests/url_alter_test.install
@@ -0,0 +1,13 @@
+<?php
+// $Id$
+
+/**
+ * Impelement hook_install().
+ */
+function url_alter_test_install() {
+ // Set the weight of this module to one higher than forum.module.
+ db_update('system')
+ ->fields(array('weight' => 2))
+ ->condition('name', 'url_alter_test')
+ ->execute();
+}