From 4c3b9e363ab1501bf3169d92f5606abf464c2d5e Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 25 Nov 2009 08:05:21 -0800 Subject: Refactor the comment module as part of ticket: #917 "Remove Rest Controller" * Remove the methods create, update, delete, get_edit_form as there are not used * Change the return when a comment is created to return the html for the new comment. This saves a second get request to down load the comment. --- modules/comment/views/comment.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/comment/views') diff --git a/modules/comment/views/comment.html.php b/modules/comment/views/comment.html.php index c7957c15..2c485b53 100644 --- a/modules/comment/views/comment.html.php +++ b/modules/comment/views/comment.html.php @@ -8,9 +8,9 @@ width="40" height="40" /> - %name said", array("date_time" => gallery::date_time($comment->created), - "author_name" => html::clean($comment->author_name()))) ?> + "name" => html::clean($comment->author_name()))) ?>

text)) ?> -- cgit v1.2.3