]> jfr.im git - uguu.git/blobdiff - static/php/includes/Upload.class.php
add phpdocs
[uguu.git] / static / php / includes / Upload.class.php
index d4cd657bf27b74b23f82c288068e4c5ed42f71cc..edf9b7cc798cbffb933b07c2a2b01de8112c678f 100644 (file)
@@ -152,6 +152,9 @@ class Upload
     }
 
     /**
+     * Check if file extension is blacklisted
+     * if it does throw an exception.
+     *
      * @throws Exception
      */
     public function checkExtensionBlacklist()
@@ -181,7 +184,6 @@ class Upload
                 self::$NEW_NAME_FULL .= '.' . self::$FILE_EXTENSION;
             }
         } while ((new Database())->dbCheckNameExists() > 0);
-
         return self::$NEW_NAME_FULL;
     }
 }
\ No newline at end of file