aboutsummaryrefslogtreecommitdiff
path: root/actions/delete.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-09-01 11:37:42 +0000
committerCash Costello <cash.costello@gmail.com>2009-09-01 11:37:42 +0000
commita07057fc6d3f68c20f8f15c3573e74d2514ba8b6 (patch)
tree7b5e0fed099bb39892b3ef0a10933e97925a6e20 /actions/delete.php
parent8a74a87356b54f907c341b8d6b3bcbe6b1e2ba18 (diff)
downloadelgg-a07057fc6d3f68c20f8f15c3573e74d2514ba8b6.tar.gz
elgg-a07057fc6d3f68c20f8f15c3573e74d2514ba8b6.tar.bz2
made sure all the actions are using the appropriate gatekeeper
Diffstat (limited to 'actions/delete.php')
-rw-r--r--actions/delete.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/delete.php b/actions/delete.php
index 3deb69c5b..498c991c7 100644
--- a/actions/delete.php
+++ b/actions/delete.php
@@ -5,10 +5,10 @@
*
*/
- $forward_url = 'pg/photos/world'; // by default forward to world photos
+ // must be logged in
+ gatekeeper();
- //if not logged in, see world pictures instead
- if (!isloggedin()) forward($forward_url);
+ $forward_url = 'pg/photos/world'; // by default forward to world photos
$guid = (int) get_input('guid');