CMS  Version 3.9
delete.inc File Reference

Go to the source code of this file.

Variables

 $document_id = checkNumeric($_GET["document_id"])
 
if(! $document_id$document = new Document($document_id)
 
 $library = $document->DocumentLibrary()
 
if(!checkRole($library->allow_access &&! $document->fileshareAllowDelete())) $mgr = new DocumentManager($library)
 

Variable Documentation

◆ $document

if (! $document_id) $document = new Document($document_id)

Definition at line 43 of file delete.inc.

◆ $document_id

$document_id = checkNumeric($_GET["document_id"])

Definition at line 37 of file delete.inc.

◆ $library

$library = $document->DocumentLibrary()

Definition at line 44 of file delete.inc.

◆ $mgr

if (!checkRole( $library->allow_access &&! $document->fileshareAllowDelete())) $mgr = new DocumentManager($library)

Definition at line 51 of file delete.inc.