summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4a50b11)
raw | patch | inline | side by side (parent: 4a50b11)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Jul 2008 10:52:13 +0000 (10:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Jul 2008 10:52:13 +0000 (10:52 +0000) |
-If the requested plugin class is not installed, don't break up with fatal error
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11524 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11524 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_CopyPasteHandler.inc | patch | blob | history |
diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc
index 244f7c7eec57c054bf97959957bd4775508e42c4..4ceb83a1f76507f088b7a39adcbf07711acce1d8 100644 (file)
*/
function add_to_queue($dn,$action,$tab_class,$tab_object,$tab_acl_category)
{
- if(!class_exists($tab_class)){
+ if(!class_available($tab_class)){
trigger_error(sprintf("Specified class object '%s' does not exists.",$tab_class));
return(FALSE);
}