Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 7cefe82

Browse files
committed
[[ ExtensionDependencies ]] Remove unused function
1 parent 520059b commit 7cefe82

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

Toolset/libraries/revideextensionlibrary.livecodescript

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,39 +1284,6 @@ function revIDEExtensionFetchDefaultScript pFolder, pCacheIndex, pValidate
12841284
return tScript
12851285
end revIDEExtensionFetchDefaultScript
12861286

1287-
private function __extensionManifestValueFromTree pTreeID, pProperty
1288-
local tValue
1289-
switch pProperty
1290-
case "requires"
1291-
# Fetch extension dependencies
1292-
local tRequires, tCount
1293-
put 0 into tCount
1294-
put revXMLChildNames(pTreeID,"package",return,"requires",true) into tRequires
1295-
if tRequires begins with "xmlerr" then
1296-
put tRequires into tValue
1297-
break
1298-
end if
1299-
repeat for each line tDependency in tRequires
1300-
add 1 to tCount
1301-
local tName
1302-
put revXMLAttribute(pTreeID,"package" & "/" & tDependency,"name") into tName
1303-
if tName begins with "xmlerr" then
1304-
put tName into tValue
1305-
break
1306-
end if
1307-
put tName into tValue[tCount]
1308-
end repeat
1309-
default
1310-
put revXMLNodeContents(pTreeID,"/package/" & pProperty) into tValue
1311-
break
1312-
end switch
1313-
1314-
if tValue begins with "xmlerr" then
1315-
return tValue for error
1316-
end if
1317-
return tValue for value
1318-
end __extensionManifestValueFromTree
1319-
13201287
function __extensionSampleStacks pID, pFolder
13211288
local tSampleFolder, tSamples, tSampleArray
13221289

0 commit comments

Comments
 (0)