aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/forms
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-06-19 15:02:57 -0400
committercash <cash.costello@gmail.com>2011-06-19 15:02:57 -0400
commit0afdb10ff1d079e623685a91c59bac4802aa0069 (patch)
treee96f79db8872c9f9d9a1eedae8e2537d94026320 /mod/file/views/default/forms
parenta49829a99d00f3bb5b77c6b7903a9a09c52c9ff1 (diff)
downloadelgg-0afdb10ff1d079e623685a91c59bac4802aa0069.tar.gz
elgg-0afdb10ff1d079e623685a91c59bac4802aa0069.tar.bz2
removed the special ajax/embed code from the file plugin
Diffstat (limited to 'mod/file/views/default/forms')
-rw-r--r--mod/file/views/default/forms/file/upload.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/mod/file/views/default/forms/file/upload.php b/mod/file/views/default/forms/file/upload.php
index aadc449fd..da764c3d8 100644
--- a/mod/file/views/default/forms/file/upload.php
+++ b/mod/file/views/default/forms/file/upload.php
@@ -15,7 +15,6 @@ if (!$container_guid) {
$container_guid = elgg_get_logged_in_user_guid();
}
$guid = elgg_extract('guid', $vars, null);
-$ajax = elgg_extract('ajax', $vars, FALSE);
if ($guid) {
$file_label = elgg_echo("file:replace");
@@ -57,11 +56,6 @@ if ($categories) {
echo elgg_view('input/hidden', array('name' => 'container_guid', 'value' => $container_guid));
-//@todo this should not be necessary in 1.8... -- ajax actions can be auto-detected
-if ($ajax) {
- echo elgg_view('input/hidden', array('name' => 'ajax', 'value' => 1));
-}
-
if ($guid) {
echo elgg_view('input/hidden', array('name' => 'file_guid', 'value' => $guid));
}