From 02a52af62e1579ad174b1160071b82ec11ee31e3 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 19 Feb 2011 19:31:34 +0000 Subject: Refs #2916. More cleanup of the messageboard widget. git-svn-id: http://code.elgg.org/elgg/trunk@8344 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messageboard/ajax_endpoint/load.php | 42 --------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 mod/messageboard/ajax_endpoint/load.php (limited to 'mod/messageboard/ajax_endpoint/load.php') diff --git a/mod/messageboard/ajax_endpoint/load.php b/mod/messageboard/ajax_endpoint/load.php deleted file mode 100644 index 4509c30ef..000000000 --- a/mod/messageboard/ajax_endpoint/load.php +++ /dev/null @@ -1,42 +0,0 @@ -access_id)) { - echo elgg_echo("messageboard:failure"); - } - -} else { - echo elgg_echo('messageboard:somethingwentwrong'); -} - - -//step two - grab the latest messageboard contents, this will include the message above, unless an issue -//has occurred. -$contents = $user->getAnnotations('messageboard', $numToDisplay, 0, 'desc'); - -//step three - display the latest results -if ($contents) { - foreach ($contents as $content) { - echo elgg_view("messageboard/messageboard_content", array('annotation' => $content)); - } -} -- cgit v1.2.3