Skip to content
Snippets Groups Projects
Commit b550b401 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Merge branch 'feature/no-dev' into 'main'

Feature/no dev

See merge request !6
parents e7d04ba7 a6aa3b24
No related branches found
No related tags found
1 merge request!6Feature/no dev
Pipeline #11598 passed with warnings
## [1.1.1] - 2021-08-16
### Fixed
- method duplication
## [1.1.0] - 2021-08-16 ## [1.1.0] - 2021-08-16
### Added ### Added
- no-dev option handling - no-dev option handling
......
...@@ -60,19 +60,6 @@ class PrepareActivationReminderCommand extends BaseCommand ...@@ -60,19 +60,6 @@ class PrepareActivationReminderCommand extends BaseCommand
$output->writeln( "Activation reminder created." ); $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 ) { 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'; $target_file_store = 'vendor/wpdesk/wp-wpdesk-activation-reminder/target-file';
if ( ! file_exists( $target_file_store ) ) { if ( ! file_exists( $target_file_store ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment