--- a/plugins/admin/PageEditor.php Fri May 29 16:38:14 2009 -0400
+++ b/plugins/admin/PageEditor.php Fri May 29 16:38:51 2009 -0400
@@ -151,7 +151,7 @@
$pg_start = ( isset($_GET['offset']) ) ? intval($_GET['offset']) : 0;
- $q = $db->sql_unbuffered_query('SELECT urlname, name, namespace, ' . $num_pages . ' AS num_pages, ' . $pg_start . ' AS offset, \'edit\' AS mode FROM ' . table_prefix . 'pages ORDER BY name ASC;');
+ $q = $db->sql_query('SELECT urlname, name, namespace, ' . $num_pages . ' AS num_pages, ' . $pg_start . ' AS offset, \'edit\' AS mode FROM ' . table_prefix . 'pages ORDER BY name ASC;');
if ( !$q )
$db->_die('PageManager doing main select query for page list');
--- a/plugins/admin/SecurityLog.php Fri May 29 16:38:14 2009 -0400
+++ b/plugins/admin/SecurityLog.php Fri May 29 16:38:51 2009 -0400
@@ -39,7 +39,7 @@
$row = $db->fetchrow();
$db->free_result();
$count = intval($row['num']);
- $q = $db->sql_unbuffered_query('SELECT action,date_string,author,edit_summary,time_id,page_text FROM '.table_prefix.'logs WHERE log_type=\'security\' ORDER BY time_id DESC, action ASC;');
+ $q = $db->sql_query('SELECT action,date_string,author,edit_summary,time_id,page_text FROM '.table_prefix.'logs WHERE log_type=\'security\' ORDER BY time_id DESC, action ASC;');
if ( !$q )
$db->_die();