From e7ac7991ce1092c4148811147e0c794a0ed171d7 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 22 Dec 2010 18:49:50 +0100 Subject: [PATCH] This check is broken. It's probably meant to check $this->_name, but this is 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 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/framework/Core/lib/Horde/Themes/Sound.php b/framework/Core/lib/Horde/Themes/Sound.php index a51ac028b..bcf25391d 100644 --- 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; - } - } -- 2.11.0