You are here

public function AFile::delete in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

File

vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php, line 117

Class

AFile

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public function delete() {
  if (!unlink($this
    ->getFullPath())) {
    throw new MessageException(Message::createMessage(Message::UNABLE_TO_DELETE_FILE, $this
      ->getName()));
  }
}