projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove smarty {version} function, we have {#globals.version#} for it !!!
[platal.git]
/
bin
/
cron
/
clean.php
diff --git
a/bin/cron/clean.php
b/bin/cron/clean.php
index
04b9694
..
2e85b28
100755
(executable)
--- a/
bin/cron/clean.php
+++ b/
bin/cron/clean.php
@@
-23,8
+23,7
@@
require('./connect.db.inc.php');
function query ($sql) {
- global $globals;
- $globals->xdb->execute($sql);
+ XDB::execute($sql);
if (mysql_errno() != 0) {
echo "error in \"$sql\" :\n", mysql_error(),"\n";
}