lazhen
2024-08-27 eedb70fb1485575c0f75f47081b40bfe0552fba8
_Main/BL/Type_LibCal_ExplicitTimeInterval/StaticMethod_Delete.qbl
@@ -8,8 +8,10 @@
  [*
    traverse( timeIntervals_i, Elements, eti ){
      leadingeti := eti.LeadingETI();
      if( leadingeti.SubscribingETI( relsize ) = 1 ){
        part     := leadingeti.Participation();
        if( part.ExplicitTimeInterval( relsize ) = 1 ){
          part.Event().Delete();
        }
@@ -17,9 +19,9 @@
          leadingeti.Delete();
        }
      }
      if( not isnull( leadingeti ) ){
      if( not isnull( eti ) ){
        subscription := selectobject( eti, Participation.Event.LeadingParticipation.Subscription, subscription, subscription.Calendar().CalendarID() = eti.Participation().Calendar().CalendarID() );
        if( subscription.ExplicitTimeInterval( relsize ) = 1 ){
        if( not isnull( subscription ) and subscription.ExplicitTimeInterval( relsize ) = 1 ){
          subscription.Delete();
        }else{
          eti.Delete();