canEdit()) { $message->value = $message_content; if($message->save()) { /*translation:Message updated.*/ system_message(elgg_echo("koolielu:messageboard:message_updated")); } } } else { /*translation:Message could not be updated.*/ register_error(elgg_echo("koolielu:messageboard:message_not_updated")); } exit; ?>