More unused variables
[lhc/web/wiklou.git] / includes / upload / UploadBase.php
index e6334ff..1e3414f 100644 (file)
@@ -340,7 +340,7 @@ abstract class UploadBase {
        protected function verifyFile() {
                # get the title, even though we are doing nothing with it, because
                # we need to populate mFinalExtension 
-               $nt = $this->getTitle();
+               $this->getTitle();
                
                $this->mFileProps = File::getPropsFromPath( $this->mTempPath, $this->mFinalExtension );
                $this->checkMacBinary();
@@ -440,7 +440,6 @@ abstract class UploadBase {
                $localFile = $this->getLocalFile();
                $filename = $localFile->getName();
                $n = strrpos( $filename, '.' );
-               $partname = $n ? substr( $filename, 0, $n ) : $filename;
 
                /**
                 * Check whether the resulting filename is different from the desired one,