Skip to content

Commit cb2ae0a

Browse files
committed
reverting initPlugin change
1 parent f32c6b5 commit cb2ae0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/classes/DatabaseLayerPlugins.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public without sharing class DatabaseLayerPlugins {
3131
String className;
3232
try {
3333
className = (String) DatabaseLayer.Utils?.Settings?.get(field);
34-
return (className != null) ? Type.forName(className)?.newInstance() : null;
34+
return Type.forName(className)?.newInstance();
3535
} catch (Exception error) {
3636
String source = DatabaseLayerPlugins.class.getName();
3737
String msg = source + ': Invalid ' + field + ': "' + className + '". Details: ' + error;

0 commit comments

Comments
 (0)