From 0fa29b2fd0501a2fde5e086be5da22fe1f47f040 Mon Sep 17 00:00:00 2001 From: Sem Date: Sat, 28 Jul 2012 21:12:24 +0200 Subject: Removed flash uploader. --- actions/photos/image/ajax_upload.php | 57 ------------------------------------ 1 file changed, 57 deletions(-) delete mode 100644 actions/photos/image/ajax_upload.php (limited to 'actions/photos/image/ajax_upload.php') diff --git a/actions/photos/image/ajax_upload.php b/actions/photos/image/ajax_upload.php deleted file mode 100644 index 312bc598c..000000000 --- a/actions/photos/image/ajax_upload.php +++ /dev/null @@ -1,57 +0,0 @@ -container_guid = $album->getGUID(); -$image->setMimeType($mime); -$image->access_id = $album->access_id; -$image->batch = $batch; - -try { - $image->save($file); - $album->prependImageList(array($image->guid)); - - if (elgg_get_plugin_setting('img_river_view', 'tidypics') === "all") { - add_to_river('river/object/image/create', 'create', $image->getOwnerGUID(), $image->getGUID()); - } - - echo elgg_echo('success'); -} catch (Exception $e) { - // remove the bits that were saved - $image->delete(); - echo $e->getMessage(); -} - -exit; \ No newline at end of file -- cgit v1.2.3