Project

General

Profile

« Previous | Next » 

Revision 600

Added by thorn almost 17 years ago

module news: added publish_until field to control the visibility of a news-posting by date and time

View differences:

install.php
38 38
					 . '`content_short` TEXT NOT NULL ,'
39 39
					 . '`content_long` TEXT NOT NULL ,'
40 40
					 . '`commenting` VARCHAR(7) NOT NULL DEFAULT \'\','
41
					. '`published_when` INT NOT NULL DEFAULT \'0\','
42
		   	    	 . '`posted_when` INT NOT NULL DEFAULT \'0\','
41
					 . '`published_when` INT NOT NULL DEFAULT \'0\','
42
					 . '`published_until` INT NOT NULL DEFAULT \'0\','
43
					 . '`posted_when` INT NOT NULL DEFAULT \'0\','
43 44
					 . '`posted_by` INT NOT NULL DEFAULT \'0\','
44 45
					 . 'PRIMARY KEY (post_id)'
45
                . ' )';
46
					 . ' )';
46 47
	$database->query($mod_news);
47 48
	
48 49
	$database->query("DROP TABLE IF EXISTS `".TABLE_PREFIX."mod_news_groups`");

Also available in: Unified diff