/[drupal]/contributions/modules/BookMadeSimple/book_made_simple.install
ViewVC logotype

Contents of /contributions/modules/BookMadeSimple/book_made_simple.install

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


Revision 1.2 - (show annotations) (download) (as text)
Wed Aug 5 21:13:18 2009 UTC (3 months, 3 weeks ago) by scottrigby
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +21 -1 lines
File MIME type: text/x-php
task #539928 by MarcElbichon scottrigby: updating HEAD with most recent changes in order to make the next stable 6--2-2 release
1 <?php
2 // $Id: defaultTextForNode.install,v 1.1.2.1 2007/07/07 16:58:02 MXMorin Exp $
3
4
5 function book_made_simple_install() {
6 db_query("UPDATE {system} SET weight = 10 WHERE name = 'book_made_simple'");
7 }
8
9 function book_made_simple_update_6013() {
10 $ret = array();
11
12 switch ($GLOBALS['db_type']) {
13 case 'mysql':
14 case 'mysqli':
15 $ret[] = update_sql("UPDATE {system} SET weight = 10 WHERE name = 'book_made_simple'");
16 break;
17 }
18
19 return $ret;
20 }
21
22 function book_made_simple_uninstall() {
23
24 variable_del('book_made_simple_auto_main_page');
25 variable_del('book_made_simple_add_types');
26
27 }

  ViewVC Help
Powered by ViewVC 1.1.2