X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Futils%2FZipDirectoryReader.php;h=f0ace2ccb3bd87d2664ec124842517053da30d12;hb=3b6b2c75f2513785b86d0a5ec4326b5b6e32659e;hp=212f325cad19ab64b1a29a861d182a7f9b5c2bc2;hpb=8bb5a6c461c31ee5ce6874548246fc2c520686f6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/utils/ZipDirectoryReader.php b/includes/utils/ZipDirectoryReader.php index 212f325cad..f0ace2ccb3 100644 --- a/includes/utils/ZipDirectoryReader.php +++ b/includes/utils/ZipDirectoryReader.php @@ -715,22 +715,3 @@ class ZipDirectoryReader { } } } - -/** - * Internal exception class. Will be caught by private code. - */ -class ZipDirectoryReaderError extends Exception { - protected $errorCode; - - function __construct( $code ) { - $this->errorCode = $code; - parent::__construct( "ZipDirectoryReader error: $code" ); - } - - /** - * @return mixed - */ - function getErrorCode() { - return $this->errorCode; - } -}