fixed comments
This commit is contained in:
parent
abf1276967
commit
ccacd86b24
1 changed files with 9 additions and 4 deletions
|
@ -94,6 +94,10 @@ function getLocale() {
|
||||||
return locale;
|
return locale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* function returns the (already cached) DateFormatSymbols according
|
||||||
|
* to the locale defined for a site
|
||||||
|
*/
|
||||||
function getDateSymbols() {
|
function getDateSymbols() {
|
||||||
var symbols = this.cache.dateSymbols;
|
var symbols = this.cache.dateSymbols;
|
||||||
if (symbols)
|
if (symbols)
|
||||||
|
@ -102,6 +106,10 @@ function getDateSymbols() {
|
||||||
return this.cache.dateSymbols;
|
return this.cache.dateSymbols;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* function returns the (already cached) TimeZone-Object
|
||||||
|
* according to site-preferences
|
||||||
|
*/
|
||||||
function getTimeZone() {
|
function getTimeZone() {
|
||||||
var timezone = this.cache.timezone;
|
var timezone = this.cache.timezone;
|
||||||
if (timezone)
|
if (timezone)
|
||||||
|
@ -167,11 +175,8 @@ function ping() {
|
||||||
if (result.error)
|
if (result.error)
|
||||||
app.log("Error when notifying weblogs.com for updated site \"" + this.alias + "\": " + result.message);
|
app.log("Error when notifying weblogs.com for updated site \"" + this.alias + "\": " + result.message);
|
||||||
|
|
||||||
// this is the easy post url method (maybe faster?)
|
|
||||||
// var ping = getURL("http://newhome.weblogs.com/pingSiteForm?name=" + this.title + "&url=" + this.href());
|
|
||||||
|
|
||||||
// lastping is always set to now to prevent blogs
|
// lastping is always set to now to prevent blogs
|
||||||
// hanging in the scheduler if a fatal error occurs
|
// hanging in the scheduler if a fatal error occurs
|
||||||
this.lastping = new Date();
|
this.lastping = new Date();
|
||||||
return(result);
|
return(result);
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue