diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-19 11:07:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-19 11:07:37 +0000 |
commit | fd1c63b5c0ce91849d6088b7aad40b27ea7bb96f (patch) | |
tree | 7742fc7fdc55f819c066be08a3419995b591439b /modules/system/system.install | |
parent | a557b0de2ac5d0b2048a456f94f9b8047afa71b9 (diff) | |
download | brdo-fd1c63b5c0ce91849d6088b7aad40b27ea7bb96f.tar.gz brdo-fd1c63b5c0ce91849d6088b7aad40b27ea7bb96f.tar.bz2 |
- Patch ##525540 by jvandyk, sun, jhodgdon, fago | webchick, TheRec, Dave Reid, brianV, sun.core, cweagans, Dries: gave trigger.module and includes/actions.inc an API overhaul. Simplified definitions of actions and triggers and removed dependency on the combination of hooks and operations. Triggers now directly map to module hooks.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 85423a0a4..87c4de592 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -574,8 +574,8 @@ function system_schema() { 'not null' => TRUE, 'size' => 'big', ), - 'description' => array( - 'description' => 'Description of the action.', + 'label' => array( + 'description' => 'Label of the action.', 'type' => 'varchar', 'length' => 255, 'not null' => TRUE, @@ -2493,6 +2493,15 @@ function system_update_7037() { } /** + * Rename action description to label. + */ +function system_update_7038() { + $ret = array(); + db_change_field($ret, 'actions', 'description', 'label', array('type' => 'varchar', 'length' => 255, 'not null' => TRUE, 'default' => '0')); + return $ret; +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |