? 314358-89.patch ? node_admin_filters.patch ? reset.php ? sites/all/modules ? sites/default/files ? sites/default/settings.php Index: includes/database/database.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database/database.inc,v retrieving revision 1.58 diff -u -p -r1.58 database.inc --- includes/database/database.inc 3 Jul 2009 04:36:50 -0000 1.58 +++ includes/database/database.inc 3 Jul 2009 05:14:30 -0000 @@ -2443,6 +2443,20 @@ function _db_error_page($error = '') { } /** + * Helper function to get duration lag from variable + * and set the session variable that contains the lag. + */ +function db_ignore_slave() { + // Five minutes is long enough to allow the slave to break and resume + // interrupted replication without causing problems on the Drupal site + // from the old data. + $duration = variable_get('maximum_replication_lag', 300); + + // Set session variable with amount of time to delay before using slave. + $_SESSION['ignore_slave_server'] = REQUEST_TIME + $duration; +} + +/** * @ingroup database-legacy * * These functions are no longer necessary, as the DatabaseStatementInterface interface @@ -2671,19 +2685,5 @@ function db_rewrite_sql($query, $primary } /** - * Helper function to get duration lag from variable - * and set the session variable that contains the lag. - */ -function db_ignore_slave() { - // Five minutes is long enough to allow the slave to break and resume - // interrupted replication without causing problems on the Drupal site - // from the old data. - $duration = variable_get('maximum_replication_lag', 300); - - // Set session variable with amount of time to delay before using slave. - $_SESSION['ignore_slave_server'] = REQUEST_TIME + $duration; -} - -/** * @} End of "ingroup database-legacy". */