mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:30:11 +01:00
Even more util refactoring
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
8eb5dbe69a
commit
a3226764c6
@ -168,4 +168,4 @@ while i < args.count:
|
||||
|
||||
|
||||
if args.debug == 0:
|
||||
print
|
||||
print('')
|
||||
|
@ -220,7 +220,7 @@ function do_search($data = array(), $automated_search_recipients = array())
|
||||
|
||||
$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)
|
||||
{
|
||||
@ -251,7 +251,7 @@ function do_search($data = array(), $automated_search_recipients = array())
|
||||
}
|
||||
else {
|
||||
print "search = " . $data[SEARCH_STR] . "\n";
|
||||
print_r($all_ids);
|
||||
print_r($search_result_array[2]); // $all_ids field
|
||||
print $EOL . $EOL;
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ try {
|
||||
download_users_emails($storage);
|
||||
|
||||
} else {
|
||||
"login FAILED at $server for $username\n";
|
||||
print "login FAILED at $server for $username\n";
|
||||
}
|
||||
}
|
||||
catch (Zend_Mail_Protocol_Exception $e) {
|
||||
|
Loading…
Reference in New Issue
Block a user