Even more util refactoring

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-11-03 16:58:03 +01:00
parent 8eb5dbe69a
commit a3226764c6
3 changed files with 4 additions and 4 deletions

View File

@ -168,4 +168,4 @@ while i < args.count:
if args.debug == 0: if args.debug == 0:
print print('')

View File

@ -220,7 +220,7 @@ function do_search($data = array(), $automated_search_recipients = array())
$boundary = "--=_NextPart_000_ABCDEFGHI"; $boundary = "--=_NextPart_000_ABCDEFGHI";
list ($n, $total_found, $all_ids, $messages) = $search->search_messages($a, 0); $search_result_array = $search->search_messages($a, 0);
if($dry_run == 0) if($dry_run == 0)
{ {
@ -251,7 +251,7 @@ function do_search($data = array(), $automated_search_recipients = array())
} }
else { else {
print "search = " . $data[SEARCH_STR] . "\n"; print "search = " . $data[SEARCH_STR] . "\n";
print_r($all_ids); print_r($search_result_array[2]); // $all_ids field
print $EOL . $EOL; print $EOL . $EOL;
} }

View File

@ -59,7 +59,7 @@ try {
download_users_emails($storage); download_users_emails($storage);
} else { } else {
"login FAILED at $server for $username\n"; print "login FAILED at $server for $username\n";
} }
} }
catch (Zend_Mail_Protocol_Exception $e) { catch (Zend_Mail_Protocol_Exception $e) {