Parent Directory
|
Revision Log
|
Revision Graph
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 |