BUGFIX: SetDate doesn't need to be called, as the date is automatically set the the current time

This commit is contained in:
Andrew O'Neil 2008-12-16 21:27:05 +00:00
parent 18f2639e51
commit 3443ff9f60
1 changed files with 0 additions and 1 deletions

View File

@ -154,7 +154,6 @@ class BlogHolder extends Page {
$blog = new BlogEntry();
$blog->Title = _t('BlogHolder.SUCTITLE', "SilverStripe blog module successfully installed");
$blog->URLSegment = 'sample-blog-entry';
$blog->setDate(date("Y-m-d H:i:s",time()));
$blog->Tags = _t('BlogHolder.SUCTAGS',"silverstripe, blog");
$blog->Content = _t('BlogHolder.SUCCONTENT',"Congratulations, the SilverStripe blog module has been successfully installed. This blog entry can be safely deleted. You can configure aspects of your blog (such as the widgets displayed in the sidebar) in [url=admin]the CMS[/url].");
$blog->Status = "Published";