original_string: public function Delete($Name) {
        $Parsed = $this->Parse($Name);
  
        // Throw an event so that plugins that have stored the file somewhere else can delete it.
        $this->EventArguments['Parsed'] =& $Parsed;
        $Handled = FALSE;
        $this->EventArguments['Handled'] =& $Handled;
        $this->FireAs('Gdn_Upload')->FireEvent('Delete');
  
        if (!$Handled) {
           $Path = PATH_UPLOADS.'/'.ltrim($Name, '/');
           @unlink($Path);
        }
     }
code: public function Delete($Name) {
        $Parsed = $this->Parse($Name);
  
        // Throw an event so that plugins that have stored the file somewhere else can delete it.
        $this->EventArguments['Parsed'] =& $Parsed;
        $Handled = FALSE;
        $this->EventArguments['Handled'] =& $Handled;
        $this->FireAs('Gdn_Upload')->FireEvent('Delete');
  
        if (!$Handled) {
           $Path = PATH_UPLOADS.'/'.ltrim($Name, '/');
           @unlink($Path);
        }
     }
code_tokens: public function Delete ( $ Name ) { $ Parsed = $ this -> Parse ( $ Name ) ; // Throw an event so that plugins that have stored the file somewhere else can delete it. $ this -> EventArguments [ 'Parsed' ] = & $ Parsed ; $ Handled = FALSE ; $ this -> EventArguments [ 'Handled' ] = & $ Handled ; $ this -> FireAs ( 'Gdn_Upload' ) -> FireEvent ( 'Delete' ) ; if ( ! $ Handled ) { $ Path = PATH_UPLOADS . '/' . ltrim ( $ Name , '/' ) ; @ unlink ( $ Path ) ; } }
docstring: Delete an uploaded file.
  
  @param string $Name The name of the upload as saved in the database.
docstring_tokens: Delete an uploaded file .