~catch-drupal/+junk/pressflow-content-cache-variable

« back to all changes in this revision

Viewing changes to modules/system/system.install

  • Committer: David Strauss
  • Date: 2010-06-23 21:02:47 UTC
  • mfrom: (82.1.7 merge-drupal-6.17)
  • Revision ID: david@fourkitchens.com-20100623210247-ggd9fi82dyiayz98
Merge changes from the 6.17 branch that were intended for the mainline.

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
  // This sets uid 1 (superuser). We skip uid 2 but that's not a big problem.
386
386
  db_query("UPDATE {users} SET uid = 1 WHERE name = '%s'", 'placeholder-for-uid-1');
387
387
 
388
 
  db_query("INSERT INTO {role} (rid, name) VALUES (%d, '%s')", DRUPAL_ANONYMOUS_RID, 'anonymous user');
 
388
  db_query("INSERT INTO {role} (name) VALUES ('%s')", 'anonymous user');
389
389
  $rid_anonymous = db_last_insert_id('role', 'rid');
390
390
 
391
 
  db_query("INSERT INTO {role} (rid, name) VALUES (%d, '%s')", DRUPAL_AUTHENTICATED_RID, 'authenticated user');
 
391
  db_query("INSERT INTO {role} (name) VALUES ('%s')", 'authenticated user');
392
392
  $rid_authenticated = db_last_insert_id('role', 'rid');
393
393
 
394
394
  // Sanity check to ensure the anonymous and authenticated role IDs are the