Revision 998
Added by Ruud over 15 years ago
upgrade.php | ||
---|---|---|
24 | 24 |
*/ |
25 | 25 |
|
26 | 26 |
if (function_exists('db_add_field')) { |
27 |
db_add_field($table, "admin_edit", "INT NOT NULL default '0'");
|
|
28 |
db_add_field($table, "admin_view", "INT NOT NULL default '0'");
|
|
29 |
db_add_field($table, "show_wysiwyg", "INT NOT NULL default '0'");
|
|
27 |
db_add_field("admin_edit", 'mod_droplets', "INT NOT NULL default '0'");
|
|
28 |
db_add_field("admin_view", 'mod_droplets', "INT NOT NULL default '0'");
|
|
29 |
db_add_field("show_wysiwyg", 'mod_droplets', "INT NOT NULL default '0'");
|
|
30 | 30 |
} else { |
31 | 31 |
/** |
32 | 32 |
* Not call by the upgrade-script |
... | ... | |
35 | 35 |
`admin_edit` INT NOT NULL default '0', |
36 | 36 |
`admin_view` INT NOT NULL default '0', |
37 | 37 |
`show_wysiwyg` INT NOT NULL default '0' |
38 |
)"; |
|
38 |
)");
|
|
39 | 39 |
} |
40 | 40 |
} |
41 | 41 |
?> |
Also available in: Unified diff
Droplets upgrade script fixes
Added warning message in output_filter