public function onAfterDelete()
 {
     parent::onBeforeDelete();
     $apikey = SiteConfig::current_site_config()->getMCAPIKey();
     $api = new MCAPI($apikey);
     $list = $this->getComponent("MCList");
     if (!empty($list->ID) && $this->getSyncMailChimp()) {
         $api->listStaticSegmentDel($list->ListID, $this->MCListSegmentID);
         if ($api->errorCode) {
             SS_Log::log("API Call Failed: listStaticSegmentDel(); | Error Code = " . $api->errorCode . " | Error Message = " . $api->errorMessage, SS_Log::ERR);
         } else {
             SS_Log::log("API Call Success: listStaticSegmentDel();", SS_Log::NOTICE);
         }
     }
 }