Tuesday 08 May 2007 6:01:24 am
I made a quick fix by adding
if ($versionObject->attribute( 'version' ) != 1)
{
return EZ_NOTIFICATIONEVENTHANDLER_EVENT_SKIPPED;
}
to kernel/classes/notification/handler/ezsubtree/ezsubtreehandler.php , handlePublishEvent function. This could be done more elegant by custom notification handler, but the change is so small (the line is already there in the file, but commented), and we are currently in a tight time schedule. I would add it as a feature request, but don't know where. :-)
http://www.netgen.hr/eng
http://twitter.com/ivrdoljak
|