summaryrefslogtreecommitdiff
path: root/modules/dblog
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-26 07:30:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-26 07:30:29 +0000
commit665c9fdc2ca50f7960c16b375685485b3eb8b1cc (patch)
tree273088dccb033efaf0e7ed718e6041842e32c7ae /modules/dblog
parent116de1793300f2aee3d71297c26ec448f8141196 (diff)
downloadbrdo-665c9fdc2ca50f7960c16b375685485b3eb8b1cc.tar.gz
brdo-665c9fdc2ca50f7960c16b375685485b3eb8b1cc.tar.bz2
Roll-back of users -> user table name change in #330983: Broken pgsql is no fun.
Diffstat (limited to 'modules/dblog')
-rw-r--r--modules/dblog/dblog.admin.inc4
-rw-r--r--modules/dblog/dblog.install2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/dblog/dblog.admin.inc b/modules/dblog/dblog.admin.inc
index 870c78c1c..921fb7c4d 100644
--- a/modules/dblog/dblog.admin.inc
+++ b/modules/dblog/dblog.admin.inc
@@ -63,7 +63,7 @@ function dblog_overview() {
array('data' => t('Operations')),
);
- $sql = "SELECT w.wid, w.uid, w.severity, w.type, w.timestamp, w.message, w.variables, w.link, u.name FROM {watchdog} w INNER JOIN {user} u ON w.uid = u.uid";
+ $sql = "SELECT w.wid, w.uid, w.severity, w.type, w.timestamp, w.message, w.variables, w.link, u.name FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid";
$tablesort = tablesort_sql($header);
if (!empty($filter['where'])) {
$result = pager_query($sql . " WHERE " . $filter['where'] . $tablesort, 50, 0, NULL, $filter['args']);
@@ -132,7 +132,7 @@ function dblog_top($type) {
function dblog_event($id) {
$severity = watchdog_severity_levels();
$output = '';
- $result = db_query('SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {user} u ON w.uid = u.uid WHERE w.wid = %d', $id);
+ $result = db_query('SELECT w.*, u.name, u.uid FROM {watchdog} w INNER JOIN {users} u ON w.uid = u.uid WHERE w.wid = %d', $id);
if ($dblog = db_fetch_object($result)) {
$rows = array(
array(
diff --git a/modules/dblog/dblog.install b/modules/dblog/dblog.install
index 0d3e2e363..a1dbbf344 100644
--- a/modules/dblog/dblog.install
+++ b/modules/dblog/dblog.install
@@ -33,7 +33,7 @@ function dblog_schema() {
'type' => 'int',
'not null' => TRUE,
'default' => 0,
- 'description' => 'The {user}.uid of the user who triggered the event.',
+ 'description' => 'The {users}.uid of the user who triggered the event.',
),
'type' => array(
'type' => 'varchar',