]> git.joonet.de Git - adminer.git/commitdiff
Move comment
authorJakub Vrana <jakub@vrana.cz>
Thu, 4 Apr 2013 16:44:48 +0000 (09:44 -0700)
committerJakub Vrana <jakub@vrana.cz>
Thu, 4 Apr 2013 16:44:48 +0000 (09:44 -0700)
adminer/include/adminer.inc.php
plugins/dump-zip.php

index 7ea16c640bca205a269eb8302186b0e05728e917..0795e0649c2b1cc284a2fbc3c53939d05ac43084 100644 (file)
@@ -574,7 +574,6 @@ username.form['auth[driver]'].onchange();
                if (function_exists('bzcompress')) {
                        $return['bz2'] = 'bzip2';
                }
-               // ZipArchive requires temporary file, ZIP can be created by gzcompress - see PEAR File_Archive
                return $return;
        }
        
index 946a5b2f01d3cd68191e480ab9b3bc7576044434..07f39e96ca0932656fe01c66e21bea1f1459b779 100644 (file)
@@ -19,6 +19,7 @@ class AdminerDumpZip {
        }
        
        function _zip($string, $state) {
+               // ZIP can be created without temporary file by gzcompress - see PEAR File_Archive
                $this->data .= $string;
                if ($state & PHP_OUTPUT_HANDLER_END) {
                        $zip = new ZipArchive;