aboutsummaryrefslogtreecommitdiff
path: root/pages/photos/image/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/photos/image/upload.php')
-rw-r--r--pages/photos/image/upload.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/pages/photos/image/upload.php b/pages/photos/image/upload.php
index 0c327d53e..395651ca9 100644
--- a/pages/photos/image/upload.php
+++ b/pages/photos/image/upload.php
@@ -14,12 +14,6 @@ if (!$album_guid) {
forward();
}
-if (elgg_get_plugin_setting('uploader', 'tidypics')) {
- $uploader = get_input('uploader', 'ajax');
-} else {
- $uploader = 'basic';
-}
-
$album = get_entity($album_guid);
if (!$album) {
// @todo
@@ -44,7 +38,7 @@ elgg_push_breadcrumb($owner->name, "photos/owner/$owner->username");
elgg_push_breadcrumb($album->getTitle(), $album->getURL());
elgg_push_breadcrumb(elgg_echo('album:addpix'));
-
+$uploader = get_input('uploader');
if ($uploader == 'basic') {
$content = elgg_view('forms/photos/basic_upload', array('entity' => $album));
} else {