aboutsummaryrefslogtreecommitdiff
path: root/views/failsafe/input/securitytoken.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/failsafe/input/securitytoken.php')
-rw-r--r--views/failsafe/input/securitytoken.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/views/failsafe/input/securitytoken.php b/views/failsafe/input/securitytoken.php
deleted file mode 100644
index a2a4a0e01..000000000
--- a/views/failsafe/input/securitytoken.php
+++ /dev/null
@@ -1,17 +0,0 @@
-<?php
-/**
- * CSRF security token view for use with secure forms.
- *
- * It is still recommended that you use input/form.
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltd
- * @link http://elgg.org/
- */
-
-$ts = time();
-$token = generate_action_token($ts);
-
-echo elgg_view('input/hidden', array('internalname' => '__elgg_token', 'value' => $token));
-echo elgg_view('input/hidden', array('internalname' => '__elgg_ts', 'value' => $ts));