Delete

There are two ways to delete files using Larupload:

  • Delete by detach function

  • Delete by assigning LARUPLOAD_NULL to file property

$upload->file->detach();
# or (recommended)
$upload->attachment('file')->detach();

$upload->save();

Last updated