File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ function content_moderation_autoload_info() {
1515 'content_moderation_handler_filter_state' => 'includes/content_moderation_handler_filter_state.inc',
1616 'content_moderation_handler_filter_moderated_type' => 'includes/content_moderation_handler_filter_moderated_type.inc',
1717 'content_moderation_handler_filter_user_can_moderate' => 'includes/content_moderation_handler_filter_user_can_moderate.inc',
18- // 'ContentModerationMigrateDestinationHandler'
19- // => 'content_moderation.migrate.inc',
18+ // 'ContentModerationMigrateDestinationHandler' => 'content_moderation.migrate.inc',
2019 );
2120}
2221
@@ -1147,8 +1146,7 @@ function content_moderation_state_none() {
11471146 * @return bool
11481147 */
11491148function content_moderation_node_type_moderated($type) {
1150- // Is this content even in moderatation?
1151- return config_get('node.type.' . $type, 'settings.moderation_enabled');
1149+ return (bool) config_get('node.type.' . $type, 'settings.moderation_enabled');
11521150}
11531151
11541152/**
You can’t perform that action at this time.
0 commit comments