Skip to content

Commit

Permalink
Code conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jun 16, 2018
1 parent ed4a21f commit 7cd1619
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/my-calendar-install.php
Original file line number Diff line number Diff line change
Expand Up @@ -596,10 +596,10 @@ function my_calendar_rmdirr( $dirname ) {
}
// List files for deletion.
$files = list_files( $dirname, 2 );
foreach( $files as $file ) {
foreach ( $files as $file ) {
if ( is_dir( $file ) ) {
rmdir( $file );
} else if ( is_file( $file ) ) {
} elseif ( is_file( $file ) ) {
unlink( $file );
}
}
Expand Down
1 change: 1 addition & 0 deletions src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Translating my plug-ins is always appreciated. Visit <a href="https://translate.

* Bug fix: aria-current test was broken for current date
* Bug fix: Private categories not disambiguated in MySQL query when excluded
* Improve: Rewrite my_calendar_copyr backup functions to use core functions.

= 3.0.3 =

Expand Down

0 comments on commit 7cd1619

Please sign in to comment.