mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
no longer warn about widgets without a server-side class, as it is perfectly ok
This commit is contained in:
parent
4eea706aa0
commit
ca1433cd5e
@ -301,14 +301,6 @@ class etemplate_widget
|
|||||||
{
|
{
|
||||||
// Fall back to widget class, we can not ignore it, as the widget may contain other widgets
|
// Fall back to widget class, we can not ignore it, as the widget may contain other widgets
|
||||||
$class_name = 'etemplate_widget';
|
$class_name = 'etemplate_widget';
|
||||||
// Don't warn about these known missing ones
|
|
||||||
if (!in_array($type, array(
|
|
||||||
'styles', 'menulist', 'tabs', 'tab', 'tabpanels', 'html',
|
|
||||||
'split', 'iframe', 'toolbar', 'caption', 'progress', 'label',
|
|
||||||
)))
|
|
||||||
{
|
|
||||||
trigger_error("Could not find a class for $type, using $class_name", E_USER_NOTICE);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user