Skip to content
Browse files

Change constructor name

  • Loading branch information...
1 parent 271ff3f commit 385f5870f99a448b27a7e6f79d6117c6a4a00759 @CloCkWeRX CloCkWeRX committed Jan 11, 2012
Showing with 2 additions and 5 deletions.
  1. +1 −1 HTTP/Download2.php
  2. +1 −2 HTTP/Download2/Archive.php
  3. +0 −2 HTTP/Download2/PgLOB.php
View
2 HTTP/Download2.php
@@ -248,7 +248,7 @@ class HTTP_Download2
*
* @see HTTP_Download2::setContentDisposition()
*/
- function HTTP_Download2($params = array())
+ function __construct($params = array())
{
$this->HTTP = &new HTTP_Header;
$this->_error = $this->setParams($params);
View
3 HTTP/Download2/Archive.php
@@ -119,5 +119,4 @@ function send($name, $files, $type = HTTP_DOWNLOAD2_TGZ, $add_path = '', $strip_
$dl->setContentDisposition(HTTP_DOWNLOAD2_ATTACHMENT, $name);
return $dl->send();
}
-}
-?>
+}
View
2 HTTP/Download2/PgLOB.php
@@ -173,5 +173,3 @@ function stream_close()
}
/**#@-*/
}
-
-?>

0 comments on commit 385f587

Please sign in to comment.
Something went wrong with that request. Please try again.