removed link_macro() and moved check for access permission (param.checkdeny) to hopobject/macros.js:link_macro()

This commit is contained in:
Tobi Schäfer 2002-06-03 16:54:34 +00:00
parent a64eae6318
commit 9cd45dea94

View file

@ -7,18 +7,3 @@ function pollList_macro(param) {
res.write(res.data.pollList);
return;
}
function link_macro(param) {
if (param.checkdeny == "true") {
if (this.isDenied(session.user))
return("");
}
this.openLink(param);
if (param.text)
res.write(param.text);
else
res.write(param.to ? param.to : param.linkto);
this.closeLink();
}