summaryrefslogtreecommitdiff
path: root/includes/database.mysql.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-10-13 12:00:50 +0000
committerDries Buytaert <dries@buytaert.net>2002-10-13 12:00:50 +0000
commitfcae7030cce39357d197d668629399eeb557f5a2 (patch)
tree8bb84cfd65abefc81b1bda186a1de669c899ff3c /includes/database.mysql.inc
parent30315c40c089ff0cab1abd4916e5d992e48185ae (diff)
downloadbrdo-fcae7030cce39357d197d668629399eeb557f5a2.tar.gz
brdo-fcae7030cce39357d197d668629399eeb557f5a2.tar.bz2
- Committed Jeremy's incarnation of the statistics module. Last minutes
changes include: * a couple of coding style changes, renamed some "stats" into "statistics", etc. * removed the "Who's online" block from the user module. * added db_affected_rows() to the resp. database abstraction layers and made the statistics module use db_affected_rows() instead. * added update logic to "update.php".
Diffstat (limited to 'includes/database.mysql.inc')
-rw-r--r--includes/database.mysql.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc
index df0d74e32..a7151cefd 100644
--- a/includes/database.mysql.inc
+++ b/includes/database.mysql.inc
@@ -108,4 +108,8 @@ function db_next_id($name) {
return $id;
}
-?> \ No newline at end of file
+function db_affected_rows() {
+ return mysql_affected_rows();
+}
+
+?>