* Fixed skin name of poll editor

* Fixed condition for setting the site modification date on comment update (hopefully this is correct...)
 * Replace site.lastUpdate with site.modified (still needs some more care - what do we do with lastUpdate anyway?)
This commit is contained in:
Tobi Schäfer 2008-04-23 08:38:59 +00:00
parent b006cbdf0b
commit 0296ff4a88
6 changed files with 10 additions and 11 deletions

View file

@ -257,7 +257,7 @@ Site.prototype.main_js_action = function() {
}
Site.prototype.rss_xml_action = function() {
res.dependsOn(this.lastUpdate);
res.dependsOn(this.modified);
res.digest();
res.contentType = "text/xml";
res.write(this.getXml(this.stories.union));
@ -265,7 +265,7 @@ Site.prototype.rss_xml_action = function() {
}
Site.prototype.stories_xml_action = function() {
res.dependsOn(this.lastUpdate);
res.dependsOn(this.modified);
res.digest();
res.contentType = "text/xml";
res.write(this.getXml(this.stories.recent));
@ -273,7 +273,7 @@ Site.prototype.stories_xml_action = function() {
}
Site.prototype.comments_xml_action = function() {
res.dependsOn(this.lastUpdate);
res.dependsOn(this.modified);
res.digest();
res.contentType = "text/xml";
res.write(this.getXml(this.stories.comments));