From 5003371ec531296d6aa60156b16199df33395bdf Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 24 Nov 2010 01:49:54 +0000 Subject: 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 --- mod/riverdashboard/actions/add.php | 4 ---- mod/riverdashboard/actions/delete.php | 3 --- 2 files changed, 7 deletions(-) (limited to 'mod/riverdashboard/actions') 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'); -- cgit v1.2.3