API docs     >     Files     >     FileMgr

FileMgr->remove

Description

remove ( $fileId, $filesDir )
Removes a File from Trash

Parameters

$fileId
int
File Id
$filesDir
string
File path (may include wildcards)

Returns

array
Array with all elements which were successfully removed