diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2012-03-16 22:51:12 -0700 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2012-03-16 22:51:12 -0700 |
commit | 5cc8de829c0a7b86c8df27293f4825d0e340d592 (patch) | |
tree | 62b71d96d02fce3a75393da08219714fdad4789d /pages/photos | |
parent | e6e33ca1a7afb00a855f57df5a5263674b23c93c (diff) | |
download | elgg-5cc8de829c0a7b86c8df27293f4825d0e340d592.tar.gz elgg-5cc8de829c0a7b86c8df27293f4825d0e340d592.tar.bz2 |
Fixes #14. Fixed uploadify.
Diffstat (limited to 'pages/photos')
-rw-r--r-- | pages/photos/image/upload.php | 8 |
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 { |