initial check-in
This commit is contained in:
parent
ec70093315
commit
b3f35c2681
1 changed files with 10 additions and 0 deletions
10
code/Site/ping.hac
Normal file
10
code/Site/ping.hac
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
var ping = this.ping();
|
||||||
|
|
||||||
|
if (!ping.flerror)
|
||||||
|
this.lastping = new Date();
|
||||||
|
else
|
||||||
|
writeln("Error when pinging weblogs.com for update of weblog " + this._id + ": " + ping.result.message);
|
||||||
|
|
||||||
|
res.message = ping.result.message;
|
||||||
|
res.writeln(res.message);
|
||||||
|
//res.redirect(this.href());
|
Loading…
Add table
Reference in a new issue