projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c6ca81
)
This check is broken. It's probably meant to check $this->_name, but this is
author
Jan Schneider
<jan@horde.org>
Wed, 22 Dec 2010 17:49:50 +0000
(18:49 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 22 Dec 2010 17:49:50 +0000
(18:49 +0100)
the wrong place for the check anyway, because it's already too late if we have
Sound object. And we already to the wav check in soundList().
framework/Core/lib/Horde/Themes/Sound.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde/Themes/Sound.php
b/framework/Core/lib/Horde/Themes/Sound.php
index
a51ac02
..
bcf2539
100644
(file)
--- a/
framework/Core/lib/Horde/Themes/Sound.php
+++ b/
framework/Core/lib/Horde/Themes/Sound.php
@@
-18,14
+18,4
@@
class Horde_Themes_Sound extends Horde_Themes_Element
*/
protected $_dirname = 'sounds';
- /**
- */
- public function __get($name)
- {
- /* Sounds must be in .wav format. */
- return (substr(strrchr($name, '.'), 1) == 'wav')
- ? parent::__get($name)
- : null;
- }
-
}