/[drupal]/contributions/modules/token/token.install
ViewVC logotype

Contents of /contributions/modules/token/token.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Sat Jul 11 20:47:34 2009 UTC (4 months, 2 weeks ago) by eaton
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +6 -1 lines
File MIME type: text/x-php
Adding better PHPDoc snippets for files and hook implementations, whitespace and coding standards tweaks, etc.
1 <?php
2 // $Id$
3
4 /**
5 * @file
6 * Install, update and uninstall functions for the Token module.
7 */
8
9 function token_install() {
10 db_query("UPDATE {system} SET weight = 10 WHERE name = 'token'");
11 }
12
13 /**
14 * Change weight of Token module in the system table to ensure it loads late.
15 */
16 function token_update_1() {
17 $ret = array();
18 $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'token'");
19 return $ret;
20 }

  ViewVC Help
Powered by ViewVC 1.1.2