X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3f5685912e89eb3b0534acd85aa0946b1ca2bbe3..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-admin/includes/class-pclzip.php diff --git a/wp-admin/includes/class-pclzip.php b/wp-admin/includes/class-pclzip.php index 5e6a619b..f36a4a3e 100644 --- a/wp-admin/includes/class-pclzip.php +++ b/wp-admin/includes/class-pclzip.php @@ -212,7 +212,7 @@ // Note that no real action is taken, if the archive does not exist it is not // created. Use create() for that. // -------------------------------------------------------------------------------- - function PclZip($p_zipname) + function __construct($p_zipname) { // ----- Tests the zlib @@ -229,6 +229,10 @@ // ----- Return return; } + + public function PclZip($p_zipname) { + self::__construct($p_zipname); + } // -------------------------------------------------------------------------------- // --------------------------------------------------------------------------------