summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-10-17 08:29:55 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-10-17 08:29:55 +0000
commit6389e5306feb9ce5128916558043e5b44ad68374 (patch)
tree3d51a97e02b1b5a74aba64e54cc6a571d7f748cb
parent4a36c9446a42a48f497cc19df5e9c1cf81e0fb3d (diff)
downloadbrdo-6389e5306feb9ce5128916558043e5b44ad68374.tar.gz
brdo-6389e5306feb9ce5128916558043e5b44ad68374.tar.bz2
#50006 by chx. Selects on the client table do not need db_rewrite_sql().
-rw-r--r--modules/drupal/drupal.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module
index afa6b70a5..64b788747 100644
--- a/modules/drupal/drupal.module
+++ b/modules/drupal/drupal.module
@@ -183,7 +183,7 @@ function drupal_client_ping($client, $system) {
*/
if ($client['link'] && $client['name'] && $client['mail'] && $client['slogan'] && $client['mission']) {
- $result = db_query(db_rewrite_sql("SELECT cid FROM {client} WHERE link = '%s'"), $client['link']);
+ $result = db_query("SELECT cid FROM {client} WHERE link = '%s'", $client['link']);
if (db_num_rows($result)) {
$record = db_fetch_object($result);
$client['cid'] = $record->cid;