*/
public function calendar_getChanges($from_ts, $to_ts)
{
- try {
+ try {
return $this->_registry->calendar->getChanges($from_ts, $to_ts);
} catch (Exception $e) {
return array('add' => array(),
$config['host'] = $config['hostspec'];
}
- $adapter = str_replace(' ', '_' , ucwords(str_replace('_', ' ', basename($config['adapter']))));
+ $adapter = str_replace(' ', '_', ucwords(str_replace('_', ' ', basename($config['adapter']))));
$class = 'Horde_Db_Adapter_' . $adapter;
if (class_exists($class)) {
if ($conf['cachecssparams']['compress'] == 'php') {
try {
$out = $injector->getInstance('Horde_Core_Factory_TextFilter')->filter($out, 'csstidy');
- } catch (Horde_Exception $e) {}
+ } catch (Horde_Exception $e) {
+ }
}
switch ($cache_type) {
/* Add user-defined additional stylesheets. */
try {
$add_css = array_merge($add_css, Horde::callHook('cssfiles', array($theme), 'horde'));
- } catch (Horde_Exception_HookNotSet $e) {}
+ } catch (Horde_Exception_HookNotSet $e) {
+ }
if ($curr_app != 'horde') {
try {
$add_css = array_merge($add_css, Horde::callHook('cssfiles', array($theme), $curr_app));
- } catch (Horde_Exception_HookNotSet $e) {}
+ } catch (Horde_Exception_HookNotSet $e) {
+ }
}
foreach ($add_css as $f => $u) {
}
break;
-
case 'opera':
$css_list[] = 'opera.css';
break;