From ae88842fce124942780875fef7d0158b8c87d9aa Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 7 Apr 2010 16:44:37 +0000 Subject: Removed windows line endings. git-svn-id: http://code.elgg.org/elgg/trunk@5657 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/deletecomment.php | 56 +++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'mod/profile/actions/deletecomment.php') diff --git a/mod/profile/actions/deletecomment.php b/mod/profile/actions/deletecomment.php index 48399af4a..0a104eabe 100644 --- a/mod/profile/actions/deletecomment.php +++ b/mod/profile/actions/deletecomment.php @@ -1,29 +1,29 @@ -entity_guid); - //check to make sure the current user can actually edit the commentwall - if ($message->canEdit()) { - //delete the comment - $message->delete(); - //display message - system_message(elgg_echo("profile:commentwall:deleted")); - forward($_SERVER['HTTP_REFERER']); - } - -} else { - system_message(elgg_echo("profile:commentwall:notdeleted")); -} - +entity_guid); + //check to make sure the current user can actually edit the commentwall + if ($message->canEdit()) { + //delete the comment + $message->delete(); + //display message + system_message(elgg_echo("profile:commentwall:deleted")); + forward($_SERVER['HTTP_REFERER']); + } + +} else { + system_message(elgg_echo("profile:commentwall:notdeleted")); +} + forward($_SERVER['HTTP_REFERER']); \ No newline at end of file -- cgit v1.2.3