function DestroyChatFiles()
 {
     if (!isnull($this->Chat)) {
         unregisterChat($this->Chat->Id);
     }
     $chatfiles = getDirectory($this->Folder, false);
     foreach ($chatfiles as $chatfile) {
         if (strpos($chatfile, "." . EX_CHAT_OPEN) !== false || strpos($chatfile, "." . EX_CHAT_ACTIVE) !== false || strpos($chatfile, "." . EX_CHAT_INTERN_CLOSED) != false || strpos($chatfile, "." . EX_CHAT_INTERN_DECLINED) != false) {
             unlinkDataSet($this->Folder . $chatfile);
         }
     }
 }
Beispiel #2
0
 function InternalDestroy()
 {
     unlinkDataSet($this->TargetFileExternalActivation);
     unlinkDataSet($this->TargetFileInternal);
 }