projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "Initial work on the rewriting of the profile/edit page"
[platal.git]
/
bin
/
cron
/
clean.php
diff --git
a/bin/cron/clean.php
b/bin/cron/clean.php
index
7d1f517
..
ee844fd
100755
(executable)
--- a/
bin/cron/clean.php
+++ b/
bin/cron/clean.php
@@
-24,8
+24,8
@@
require('./connect.db.inc.php');
function query ($sql) {
XDB::execute($sql);
- if (
mysql_
errno() != 0) {
- echo "error in \"$sql\" :\n",
mysql_error(),
"\n";
+ if (
XDB::
errno() != 0) {
+ echo "error in \"$sql\" :\n",
XDB::error(),
"\n";
}
}