Skip to content

Commit 1bd35f2

Browse files
committed
remove obsolete JS code
1 parent d081b06 commit 1bd35f2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

public_html/lists/admin/actions/import2.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
$import_field_delimiter = $_SESSION['import_field_delimiter'];
2929
if ($total > 300 && !$_SESSION['test_import']) {
3030
// this is a possibly a time consuming process, so show a progress bar
31-
echo '<script language="Javascript" type="text/javascript"> document.write(progressmeter); start();</script>';
3231
flush();
3332
// increase the memory to make sure we are not running out
3433
ini_set('memory_limit', '32M');

public_html/lists/admin/import1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
}
123123
if (!is_email($email) && $omit_invalid) {
124124
unset($email, $info);
125+
continue;
125126
}
126127
//# actually looks like the "info" bit will get lost, but
127128
//# in a way, that doesn't matter
@@ -132,7 +133,6 @@
132133

133134
if (count($email_list) > 300 && !$test_import) {
134135
// this is a possibly a time consuming process, so lets show a progress bar
135-
// print '<script language="Javascript" type="text/javascript"> document.write(progressmeter); start();</script>';
136136
flush();
137137
// increase the memory to make sure we are not running out
138138
ini_set('memory_limit', '16M');

public_html/lists/admin/import2.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@
426426
$import_field_delimiter = $_SESSION['import_field_delimiter'];
427427
if ($total > 300 && !$_SESSION['test_import']) {
428428
// this is a possibly a time consuming process, so show a progress bar
429-
echo '<script language="Javascript" type="text/javascript"> document.write(progressmeter); start();</script>';
430429
flush();
431430
// increase the memory to make sure we are not running out
432431
ini_set('memory_limit', '32M');

0 commit comments

Comments
 (0)