diff --git a/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php b/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php index 7d083aea5f28439ad27a84b206de32e799cf4f3f..5c12fda67c2b4589472be0558bf0e27b3075abea 100644 --- a/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php +++ b/src/ActivationReminder/Composer/PrepareActivationReminderCommand.php @@ -60,19 +60,6 @@ class PrepareActivationReminderCommand extends BaseCommand $output->writeln( "Activation reminder created." ); } - private function create_or_get_target_file_name( array $class_map, $random_class, $random_letter ) { - $target_file_store = 'vendor/wpdesk/wp-wpdesk-activation-reminder/target-file'; - if ( ! file_exists( $target_file_store ) ) { - $target_file = $class_map[ $random_class ]; - $target_file = str_replace( '.php', $random_letter . '.php', $target_file ); - $target_file = str_replace( getcwd() . '/vendor/composer/../../', '', $target_file ); - - file_put_contents( $target_file_store, $target_file ); - } - - return file_get_contents( $target_file_store ); - } - private function create_or_get_target_file_name( array $class_map, $random_class, $random_letter ) { $target_file_store = 'vendor/wpdesk/wp-wpdesk-activation-reminder/target-file'; if ( ! file_exists( $target_file_store ) ) {