Skip to content

Commit efaf4f2

Browse files
committed
Undo partial installer revert
1 parent 6d8de5f commit efaf4f2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

export/WebTerminal/Installer.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,19 @@ This method is invoked when a class is compiled.</Description>
5858
set Properties("TempGlobals") = "CACHETEMP"
5959
set status = ##Class(Config.Namespaces).Create("%All", .Properties)
6060
if ($$$ISERR(status)) {
61-
do $SYSTEM.Status.DisplayError(status)
61+
do $System.Status.DisplayError(status)
6262
quit status
6363
} else {
6464
w !, "%All namespace is created."
6565
}
6666
}
6767
w !, "Mapping %WebTerminal package into all namespaces:"
6868
set mapTo = $LISTBUILD("%All", "SAMPLES", "DOCBOOK")
69-
set Properties("Database") = "CACHETEMP"
69+
do ##Class(Config.Namespaces).Get("USER", .InstallNSProps)
70+
set Properties("Database") = $get(InstallNSProps("Routines"))
7071
set ptr = 0
7172
while $LISTNEXT(mapTo, ptr, value) {
73+
continue:(ns = value)
7274
w " ", value
7375
set status = ##Class(Config.MapPackages).Create(value, "WebTerminal", .Properties)
7476
if ($$$ISERR(status)) {
@@ -107,6 +109,7 @@ This method is invoked when a class is 'uncompiled'.</Description>
107109
set mapTo = $LISTBUILD("%All", "SAMPLES", "DOCBOOK")
108110
set ptr = 0
109111
while $LISTNEXT(mapTo, ptr, value) {
112+
continue:(ns = value)
110113
w " ", value
111114
set status = ##Class(Config.MapPackages).Delete(value, "WebTerminal")
112115
if ($$$ISERR(status)) {
@@ -120,4 +123,4 @@ This method is invoked when a class is 'uncompiled'.</Description>
120123
]]></Implementation>
121124
</Method>
122125
</Class>
123-
</Export>
126+
</Export>

0 commit comments

Comments
 (0)