summaryrefslogtreecommitdiff
path: root/indra/llinventory/llinventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llinventory/llinventory.cpp')
-rw-r--r--indra/llinventory/llinventory.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/llinventory/llinventory.cpp b/indra/llinventory/llinventory.cpp
index 14bd7db617..416b5efccb 100644
--- a/indra/llinventory/llinventory.cpp
+++ b/indra/llinventory/llinventory.cpp
@@ -1535,14 +1535,7 @@ bool LLInventoryCategory::importLegacyStream(std::istream& input_stream)
{
setFavorite(false);
}
- if (metadata.has("script") && metadata["script"].has("runtime"))
- {
- setRuntime(metadata["script"]["runtime"].asString());
- }
- else
- {
- setRuntime(std::string());
- }
+ setRuntime(std::string());
}
else