[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/token/ -> token.install (source)

   1  <?php
   2  // $Id: token.install,v 1.2.2.1 2008/06/28 15:10:22 greggles Exp $
   3  
   4  /**
   5   * @file
   6   * The install and update code for the token module.
   7   *
   8   * @ingroup token
   9   */
  10  
  11  function token_install() {
  12    db_query("UPDATE {system} SET weight = 10 WHERE name = 'token'");
  13  }
  14  
  15  function token_update_1() {
  16    $ret = array();
  17    $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'token'");
  18    return $ret;
  19  }


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7