summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r--indra/newview/llviewermenufile.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index f23d0f6b72..7e830e14bf 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -87,14 +87,6 @@ class LLFileEnableUpload : public view_listener_t
}
};
-class LLFileEnableUploadScript : public view_listener_t
-{
- bool handleEvent(const LLSD& userdata)
- {
- return true;
- }
-};
-
class LLFileEnableUploadModel : public view_listener_t
{
bool handleEvent(const LLSD& userdata)
@@ -399,20 +391,6 @@ class LLFileUploadAnim : public view_listener_t
}
};
-class LLFileUploadScript : public view_listener_t
-{
- bool handleEvent(const LLSD& userdata)
- {
- const std::string filename = upload_pick((void*)LLFilePicker::FFLOAD_SCRIPT);
- if (!filename.empty())
- {
- LLFloaterReg::showInstance("upload_script", LLSD(filename));
- }
-
- return true;
- }
-};
-
class LLFileUploadBulk : public view_listener_t
{
bool handleEvent(const LLSD& userdata)