/** * Standard SS method * Deletes the files in the download folder, * and the actual download folder itself. */ function onBeforeDelete() { parent::onBeforeDelete(); if ($this->FolderName && !$this->Completed) { $this->deleteFolderContents(); } }
/** * Standard SS method * Deletes the files in the download folder, * and the actual download folder itself. */ function onBeforeDelete() { parent::onBeforeDelete(); if ($this->FolderName && !$this->Completed) { $this->deleteFolderContents(); } }