projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b2c1a2
)
...and actually add the const'r to the class
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 31 Jul 2009 16:01:04 +0000
(12:01 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Fri, 31 Jul 2009 16:01:04 +0000
(12:01 -0400)
ansel/lib/View/Gallery.php
patch
|
blob
|
history
diff --git
a/ansel/lib/View/Gallery.php
b/ansel/lib/View/Gallery.php
index
fd8854d
..
0b0ef84
100644
(file)
--- a/
ansel/lib/View/Gallery.php
+++ b/
ansel/lib/View/Gallery.php
@@
-70,7
+70,7
@@
class Ansel_View_Gallery extends Ansel_View_Base
* when clicking on breadcrumb links, for example.
* </pre>
*/
- public function
makeView
($params = array())
+ public function
__construct
($params = array())
{
parent::__construct($params);
@@
-166,9
+166,6
@@
class Ansel_View_Gallery extends Ansel_View_Base
*/
public function getTitle()
{
- if (is_a($this->gallery, 'PEAR_Error')) {
- return $this->gallery->getMessage();
- }
return $this->gallery->get('name');
}