projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resume des inscriptions de la semaine vers register+watch@staff.m4x.org a la
[platal.git]
/
bin
/
cron
/
emails.check.php
diff --git
a/bin/cron/emails.check.php
b/bin/cron/emails.check.php
index
8b372d8
..
99958cc
100755
(executable)
--- a/
bin/cron/emails.check.php
+++ b/
bin/cron/emails.check.php
@@
-1,7
+1,7
@@
-#!/usr/bin/php
4
-q
+#!/usr/bin/php
5
-q
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-200
6
Polytechnique.org *
+ * Copyright (C) 2003-200
7
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-58,9
+58,9
@@
if (count($conflits) > 0) {
echo "\n\n";
$sql = "INSERT IGNORE INTO emails_watch (email, state, detection, last)
VALUES " . join(", ", $insert);
echo "\n\n";
$sql = "INSERT IGNORE INTO emails_watch (email, state, detection, last)
VALUES " . join(", ", $insert);
- X
db
::execute($sql);
- if (
mysql_
errno() != 0) {
- echo 'Error : ' .
mysql_
error() . "\n$sql";
+ X
DB
::execute($sql);
+ if (
XDB::
errno() != 0) {
+ echo 'Error : ' .
XDB::
error() . "\n$sql";
}
}
}
}
@@
-93,4
+93,5
@@
if ($panne_level > 0) {
WHERE panne_level > $panne_level");
}
WHERE panne_level > $panne_level");
}
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>
?>