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
Namespace
EdSDK\FileUploaderServer\lib\fileCode
public function delete() {
if (!unlink($this
->getFullPath())) {
throw new MessageException(Message::createMessage(Message::UNABLE_TO_DELETE_FILE, $this
->getName()));
}
}