diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-02 18:31:23 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-01-02 18:31:23 +0000 |
commit | 206edb59b91ec52ac6a46a08d65c75ab7311b995 (patch) | |
tree | 0814b7ba27cd230ebb11295540a25b8ff7df31e0 /modules/comment/helpers/comment_installer.php | |
parent | 5321c8d59d1f19e3db8fffcf50a495d0e81e127c (diff) |
Update the api to allow each driver to specify validation rules and generate the appropriate form content. Add a callback so if the driver changes in the driver selection dropdown, then the api form fields are updated with the new form fields for that driver
Diffstat (limited to 'modules/comment/helpers/comment_installer.php')
-rw-r--r-- | modules/comment/helpers/comment_installer.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_installer.php b/modules/comment/helpers/comment_installer.php index b38b127c..3e7b2f49 100644 --- a/modules/comment/helpers/comment_installer.php +++ b/modules/comment/helpers/comment_installer.php @@ -23,6 +23,10 @@ class comment_installer { $version = module::get_version("comment"); if ($version == 0) { + /** + * @todo change published flag to char(xx) with values published, unpublished, moderation + * unreviewed, spam + */ $db->query("CREATE TABLE IF NOT EXISTS `comments` ( `id` int(9) NOT NULL auto_increment, `author` varchar(128) default NULL, |