From a8d7ea23f8868aa70dd6fe87482e3b860e0b615f Mon Sep 17 00:00:00 2001 From: ben Date: Wed, 4 Feb 2009 13:05:44 +0000 Subject: Moves access permissions references over to using the ACCESS_* constants defined in access.php. Refs #687 git-svn-id: https://code.elgg.org/elgg/trunk@2639 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/reportedcontent/actions/add.php | 2 +- mod/reportedcontent/views/default/reportedcontent/form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/reportedcontent') diff --git a/mod/reportedcontent/actions/add.php b/mod/reportedcontent/actions/add.php index ebe1d7e3b..3f818ca3c 100644 --- a/mod/reportedcontent/actions/add.php +++ b/mod/reportedcontent/actions/add.php @@ -13,7 +13,7 @@ $title = get_input('title'); $description = get_input('description'); $address = get_input('address'); - $access = 0; //this is private and only admins can see it + $access = ACCESS_PRIVATE; //this is private and only admins can see it if ($title && $address) { diff --git a/mod/reportedcontent/views/default/reportedcontent/form.php b/mod/reportedcontent/views/default/reportedcontent/form.php index ded9960c8..ed4833f6e 100644 --- a/mod/reportedcontent/views/default/reportedcontent/form.php +++ b/mod/reportedcontent/views/default/reportedcontent/form.php @@ -17,7 +17,7 @@ if ($address == "previous") $address = $_SERVER['HTTP_REFERER']; $tags = array(); - $access_id = 0; + $access_id = ACCESS_PRIVATE; $shares = array(); $owner = $vars['user']; -- cgit v1.2.3