* Removed final format() call in Story.link_filter(); if we are lucky we do not need any HTML entities anymore anyway thanks to UTF-8

* Removed obsolete code
This commit is contained in:
Tobi Schäfer 2008-05-12 10:50:06 +00:00
parent aa8bcaec6c
commit 1f4c87e4d1
2 changed files with 1 additions and 16 deletions

View file

@ -417,21 +417,6 @@ function list_macro(param, id, limit) {
} else if (id === "updates") {
collection = root.updates.list(0, limit);
skin = "Site#preview";
/*
var site;
collection = [];
for (var i=0; i<root.size(); i+=1) {
site = root.get(i);
res.debug(site)
if (this.mode === Site.OPEN || this.mode === Site.PUBLIC &&
this.status !== Site.BLOCKED) {
collection.push(site);
}
if (collection.length >= limit) {
break;
}
}
*/
} else {
var site;
var parts = id.split("/");

View file

@ -436,7 +436,7 @@ Story.prototype.format_filter = function(value, param, mode) {
default:
value = this.macro_filter(value, param);
return format(this.url_filter(value, param));
return this.url_filter(value, param);
}
}
return String.EMTPY;