From f491f17bc04245a015cc012faaa8e57d48163b25 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 19 Oct 2010 01:04:05 +0000 Subject: [PATCH] MINOR Fixed SS_Datetime references in BrokenLinksReport and CommentAdmin (fixes #6063, thanks nicolaas) (from r111786) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112806 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CommentAdmin.php | 2 +- code/reports/BrokenLinksReport.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/CommentAdmin.php b/code/CommentAdmin.php index 8027dc218f..620430de1e 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -92,7 +92,7 @@ public function getEditForm($id = null) { $table->setParentClass(false); $table->setFieldCasting(array( - 'Created' => 'SSDatetime->Full', + 'Created' => 'SS_Datetime->Full', 'Comment' => array('HTMLText->LimitCharacters', 150) )); diff --git a/code/reports/BrokenLinksReport.php b/code/reports/BrokenLinksReport.php index debc9cef38..7baa5483f7 100644 --- a/code/reports/BrokenLinksReport.php +++ b/code/reports/BrokenLinksReport.php @@ -90,7 +90,7 @@ function columns() { ), "LastEdited" => array( "title" => $dateTitle, - 'casting' => 'SSDatetime->Full' + 'casting' => 'SS_Datetime->Full' ), "BrokenReason" => array( "title" => _t('BrokenLinksReport.ColumnProblemType', "Problem type")