aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/start.php
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/reportedcontent/start.php
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/reportedcontent/start.php')
-rw-r--r--mod/reportedcontent/start.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php
index ed7eedd4f..09ab71406 100644
--- a/mod/reportedcontent/start.php
+++ b/mod/reportedcontent/start.php
@@ -25,8 +25,8 @@ function reportedcontent_init() {
//register action
elgg_register_action('reportedcontent/add', "{$CONFIG->pluginspath}reportedcontent/actions/add.php");
- elgg_register_action('reportedcontent/delete', "{$CONFIG->pluginspath}reportedcontent/actions/delete.php");
- elgg_register_action('reportedcontent/archive', "{$CONFIG->pluginspath}reportedcontent/actions/archive.php");
+ elgg_register_action('reportedcontent/delete', "{$CONFIG->pluginspath}reportedcontent/actions/delete.php", 'admin');
+ elgg_register_action('reportedcontent/archive', "{$CONFIG->pluginspath}reportedcontent/actions/archive.php", 'admin');
}
// Initialise Reported Content