Skip to content

Commit

Permalink
fix: remove error_log call
Browse files Browse the repository at this point in the history
  • Loading branch information
florianbrinkmann committed Jun 2, 2023
1 parent fba065b commit 873c616
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Crons/DeleteSpamCron.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public static function run() {
}

$days = (int) Settings::get_option( 'delete_spam_cronjob_days' );
error_log( $days, 3, trailingslashit( PLUGIN_PATH ) . 'error.log' );
if ( empty( $days ) ) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion src/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function init() {
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
return;
}

// Construct all modules to initialize.
$modules = array(
DashboardWidgets::class,
Expand Down

0 comments on commit 873c616

Please sign in to comment.