no longer warn about widgets without a server-side class, as it is perfectly ok

This commit is contained in:
Ralf Becker 2014-01-13 15:24:48 +00:00
parent 4eea706aa0
commit ca1433cd5e

View File

@ -301,14 +301,6 @@ class etemplate_widget
{
// Fall back to widget class, we can not ignore it, as the widget may contain other widgets
$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);
}
}
}
}