Function “lmb_deleteFile()”

Estimated reading: 1 minute

lmb_deleteFile

boolean lmb_deleteFile(numeric $ID, boolean $forceDelnm=null)

Function for deleting a file in the DMS (./limbas_src/extra/explorer/filestructure.lib)

Parameters

Summary of the parameters:

  • $ID : The file ID that should be deleted
  • $forceDelnm : Force deletion

$ID

The file ID that should be deleted

$forceDelnm

If TRUE it is attempted to delete the file despite existing links. Links are also deleted according to their definition.

Return Value

TRUE if successful