| 900 |
} |
} |
| 901 |
} |
} |
| 902 |
function update_all() { |
function update_all() { |
| 903 |
global $email; |
global $email, $sendNotifications; |
| 904 |
$intime=gmdate('D, d M Y H:i:s \C\E\S\T',time()+3600*2); |
$intime=gmdate('D, d M Y H:i:s \C\E\S\T',time()+3600*2); |
| 905 |
echo __FUNCTION__ . ' started the ' . $intime . "\n"; |
echo __FUNCTION__ . ' started the ' . $intime . "\n"; |
| 906 |
|
// atm disable when performing an archive-wide check because |
| 907 |
|
// I'm CC'ing myself (atomo64) on each message to review them |
| 908 |
|
$sendNotifications = false; |
| 909 |
db_add(); |
db_add(); |
| 910 |
dl_popcon(); |
dl_popcon(); |
| 911 |
db_popcon(); |
db_popcon(); |
| 1021 |
$eventsId = events::_searchEvent(__FUNCTION__, $sourcePackage, $newVersion); |
$eventsId = events::_searchEvent(__FUNCTION__, $sourcePackage, $newVersion); |
| 1022 |
|
|
| 1023 |
if (!empty($eventsId)) { |
if (!empty($eventsId)) { |
| 1024 |
echo "Skipping ".__FUNCTION__." event for v$newVersion of $sourcePackage; already sent"; |
echo "\nSkipping ".__FUNCTION__." event for v$newVersion of $sourcePackage; already sent"; |
| 1025 |
return null; |
return null; |
| 1026 |
} |
} |
| 1027 |
|
|