diff options
Diffstat (limited to 'includes/UploadFromUpload.php')
-rw-r--r-- | includes/UploadFromUpload.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/includes/UploadFromUpload.php b/includes/UploadFromUpload.php deleted file mode 100644 index 1b6762c6..00000000 --- a/includes/UploadFromUpload.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -class UploadFromUpload extends UploadBase { - - function initializeFromRequest( &$request ) { - $desiredDestName = $request->getText( 'wpDestFile' ); - if( !$desiredDestName ) - $desiredDestName = $request->getText( 'wpUploadFile' ); - - return $this->initialize( - $desiredDestName, - $request->getFileTempName( 'wpUploadFile' ), - $request->getFileSize( 'wpUploadFile' ) - ); - } - - static function isValidRequest( $request ) { - return (bool)$request->getFileTempName( 'wpUploadFile' ); - } -} |