public function Delete($ActivityID, $Options = array()) {
      // Get the activity first.
      $Activity = $this->GetID($ActivityID);
      if ($Activity) {
         // Log the deletion.
         $Log = GetValue('Log', $Options);
         if ($Log) {
            LogModel::Insert($Log, 'Activity', $Activity);
         }
         
         // Delete comments on the activity item
         $this->SQL->Delete('ActivityComment', array('ActivityID' => $ActivityID));
         
         // Delete the activity item
         parent::Delete(array('ActivityID' => $ActivityID));
      }
   }