From: Chuck Hagenbuch Date: Wed, 18 Nov 2009 04:26:46 +0000 (-0500) Subject: PHP 5 constructor X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=feea843ea7c149c49f1c4231cc10d6b9cf88d4c0;p=horde.git PHP 5 constructor --- diff --git a/ansel/lib/Search/exif.php b/ansel/lib/Search/exif.php index 773275c67..0f800dcc2 100644 --- a/ansel/lib/Search/exif.php +++ b/ansel/lib/Search/exif.php @@ -18,12 +18,11 @@ class Ansel_Search_exif { * @param array $params * @return Ansel_Search_exif */ - function Ansel_Search_exif($params = array()) + public function __construct($params = array()) { $this->_type = 'exif'; } - /** * retrieve a slice of the current search * @@ -40,5 +39,4 @@ class Ansel_Search_exif { function count() { } - }