diff --git a/app/views/photos/_new_photo.haml b/app/views/photos/_new_photo.haml deleted file mode 100644 index b3c2cc201..000000000 --- a/app/views/photos/_new_photo.haml +++ /dev/null @@ -1,18 +0,0 @@ --# Copyright (c) 2010-2011, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - -:javascript - function createUploader(){ - - var aspectIds = "#{aspect_ids}".split(','); - - var uploader = new qq.FileUploaderBasic({ - - params: {'photo' : {'pending' : 'true', 'aspect_ids' : aspectIds}, 'set_profile_image' : "#{set_profile_image if defined?(set_profile_image)}"}, - - - }); - } - - // createUploader(); diff --git a/app/views/shared/_publisher.html.haml b/app/views/shared/_publisher.html.haml index 0180a8108..f0a38fee6 100644 --- a/app/views/shared/_publisher.html.haml +++ b/app/views/shared/_publisher.html.haml @@ -89,5 +89,3 @@ #publisher_photo_upload - = render 'photos/new_photo', :aspect_ids => aspect_ids.join(',') -