Index: branches/5.2.x/units/posts/post_eh.php =================================================================== diff -u -N -r15567 -r15604 --- branches/5.2.x/units/posts/post_eh.php (.../post_eh.php) (revision 15567) +++ branches/5.2.x/units/posts/post_eh.php (.../post_eh.php) (revision 15604) @@ -1,6 +1,6 @@ Application->EmailEventAdmin('POST.MODIFY'); + $this->Application->emailAdmin('POST.MODIFY'); } /** @@ -237,15 +237,15 @@ $user_notified = false; // don't send POST.ADD event twice to same user (in case if owner adds new post) if ( $main_object->GetDBField('NotifyOwnerOnChanges') ) { $user_notified = $main_object->GetDBField('OwnerId'); - $this->Application->EmailEventUser('POST.ADD', $user_notified); + $this->Application->emailUser('POST.ADD', $user_notified); } $post_owner_id = $object->GetDBField('CreatedById'); if ( ($post_owner_id > 0) && ($user_notified != $post_owner_id) ) { - $this->Application->EmailEventUser('POST.ADD', $post_owner_id); + $this->Application->emailUser('POST.ADD', $post_owner_id); } - $this->Application->EmailEventAdmin('POST.ADD'); + $this->Application->emailAdmin('POST.ADD'); } $post_helper->updateTodayPostsCount($main_object, $object->GetDBField('CreatedOn'), +1);