Skip to content

Commit 62e6e2b

Browse files
committed
Response updated
1 parent ce161dc commit 62e6e2b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

classes/LDtoTutorMigration.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ public function ld_migrate_all_data_to_tutor() {
114114
}
115115

116116
// Send response & clear on finish.
117-
$status = MigrationLogger::get_log();
118-
MigrationLogger::clear_log();
119-
wp_send_json_success( $status );
117+
$response = MigrationLogger::get_log();
118+
wp_send_json_success( $response );
120119
}
121120

122121
wp_send_json_error();

0 commit comments

Comments
 (0)