UploadBase: Remove UPLOAD_VERIFICATION_ERROR
authorPrateek Saxena <prtksxna@gmail.com>
Thu, 1 Oct 2015 07:56:58 +0000 (13:26 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Thu, 1 Oct 2015 14:39:28 +0000 (20:09 +0530)
It was replaced by HOOK_ABORTED five years ago and isn't being used
anywhere now.

Change-Id: I20feb33c108ae56f25a0cd01da1a326b290106c2

includes/upload/UploadBase.php

index 1568859..508f62e 100644 (file)
@@ -61,9 +61,6 @@ abstract class UploadBase {
        const FILETYPE_MISSING = 8;
        const FILETYPE_BADTYPE = 9;
        const VERIFICATION_ERROR = 10;
-
-       # HOOK_ABORTED is the new name of UPLOAD_VERIFICATION_ERROR
-       const UPLOAD_VERIFICATION_ERROR = 11;
        const HOOK_ABORTED = 11;
        const FILE_TOO_LARGE = 12;
        const WINDOWS_NONASCII_FILENAME = 13;