aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:49:54 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:49:54 +0000
commit5003371ec531296d6aa60156b16199df33395bdf (patch)
treed2741ab131630fdff04b40d4ea9899d45f191843 /mod/riverdashboard
parent38f3674095d16bfb73320eb2e0b566ad4484882d (diff)
downloadelgg-5003371ec531296d6aa60156b16199df33395bdf.tar.gz
elgg-5003371ec531296d6aa60156b16199df33395bdf.tar.bz2
Refs #2451: Removes (admin_)gatekeeper() calls from core plugin actions
git-svn-id: http://code.elgg.org/elgg/trunk@7434 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard')
-rw-r--r--mod/riverdashboard/actions/add.php4
-rw-r--r--mod/riverdashboard/actions/delete.php3
2 files changed, 0 insertions, 7 deletions
diff --git a/mod/riverdashboard/actions/add.php b/mod/riverdashboard/actions/add.php
index 8e19db636..441723ebf 100644
--- a/mod/riverdashboard/actions/add.php
+++ b/mod/riverdashboard/actions/add.php
@@ -6,10 +6,6 @@
* @package ElggSiteMessage
**/
-// Make sure we're logged in and are admin (send us to the front page if not)
-admin_gatekeeper();
-
-// Get input data
$message = get_input('sitemessage');
//$access = 1; //it is for all logged in users
diff --git a/mod/riverdashboard/actions/delete.php b/mod/riverdashboard/actions/delete.php
index aa325e7c7..5352cc778 100644
--- a/mod/riverdashboard/actions/delete.php
+++ b/mod/riverdashboard/actions/delete.php
@@ -6,9 +6,6 @@
* @package ElggBlog
*/
-// Make sure we're logged in (send us to the front page if not)
-gatekeeper();
-
// Get input data
$guid = (int) get_input('message');