Skip to content

Commit ef2d325

Browse files
committed
fix: remove plugin_name workflow env
1 parent 8c1a52e commit ef2d325

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

main.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,6 @@ function block_emails() {
302302

303303
if [[ -n "$hosts_block_email_file_name" ]]; then
304304
BLOCK_EMAIL_PLUGIN_NAME="${hosts_block_email_file_name}.php"
305-
elif [[ -n "$BLOCK_EMAILS_PLUGIN_FILE_NAME" ]]; then
306-
BLOCK_EMAIL_PLUGIN_NAME="${BLOCK_EMAILS_PLUGIN_FILE_NAME}.php"
307305
fi
308306

309307
BLOCK_EMAIL_PLUGIN_PATH="$BLOCK_EMAIL_DIR/$BLOCK_EMAIL_PLUGIN_NAME"

0 commit comments

Comments
 (0)