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

Contents of /contributions/modules/prepopulate/prepopulate.install

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


Revision 1.4 - (show annotations) (download) (as text)
Sat May 3 18:04:54 2008 UTC (18 months, 3 weeks ago) by add1sun
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-1, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.3: +2 -3 lines
File MIME type: text/x-php
Some text cleanup.
1 <?php
2 // $Id: prepopulate.install,v 1.3 2008/03/16 14:06:29 add1sun Exp $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function prepopulate_install() {
8 $ret = array();
9 // Ensure that prepopulate sinks to the bottom during hook calls
10 // there should be a UI for this at some point.
11 $ret[] = db_query("UPDATE {system} SET weight = 10 WHERE name = 'prepopulate'");
12 return $ret;
13 }

  ViewVC Help
Powered by ViewVC 1.1.2