$this->mUrl = trim( $url );
}
- function verifyUpload() {
+ /**
+ * Do the real fetching stuff
+ */
+ function fetchFile() {
if( stripos($this->mUrl, 'http://') !== 0 && stripos($this->mUrl, 'ftp://') !== 0 ) {
return array(
'status' => self::BEFORE_PROCESSING,
'error' => $res,
);
}
- return parent::verifyUpload();
+ return self::OK;
}
- /**
+ /**
* Safe copy from URL
* Returns true if there was an error, false otherwise
*/