source:
products/qPloneGoogleSitemaps/branches/contenttype/Extensions/ping_googlesitemap.py
| Last change on this file was 425, checked in by fenix, 19 years ago | |
|---|---|
| File size: 302 bytes | |
| Line | |
|---|---|
| 1 | from zope.event import notify |
| 2 | from Products.qPloneGoogleSitemaps.events import AfterTransitionEvent |
| 3 | |
| 4 | def pingGoogleSitemap(stch): |
| 5 | notify(AfterTransitionEvent(stch.object, |
| 6 | stch.workflow, stch.old_state, stch.new_state, |
| 7 | stch.transition, stch.status, stch.kwargs)) |
| 8 | return 0 |
| 9 |
Note: See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/common/qtrac_logo.png)