Skip to content

Commit 6ce7e99

Browse files
committed
Fix removing change entry creator conflicting actions
1 parent b6ae772 commit 6ce7e99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/class-change-entry-creator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ function prevent_conflicts() {
3131
// Now, no validation is required in the methods; let's hook in.
3232
remove_action('admin_init', array( $Old_Lead_Creator, 'set_screen_mode' ) );
3333

34-
add_action("gform_entry_info", array( $Old_Lead_Creator, 'add_select' ), 10, 2);
34+
remove_action("gform_entry_info", array( $Old_Lead_Creator, 'add_select' ), 10, 2);
3535

36-
add_action("gform_after_update_entry", array( $Old_Lead_Creator, 'update_entry_creator' ), 10, 2);
36+
remove_action("gform_after_update_entry", array( $Old_Lead_Creator, 'update_entry_creator' ), 10, 2);
3737
}
3838

3939
}

0 commit comments

Comments
 (0)