$GLOBALS['cache_instance']->init();
// Query the database about this
- $result = SQL_QUERY('SELECT * FROM `{?_MYSQL_PREFIX?}_points_data` ORDER BY `id` ASC', __FILE__, __LINE__);
- while ($dummy = SQL_FETCHARRAY($result)) {
+ $result = sqlQuery('SELECT * FROM `{?_MYSQL_PREFIX?}_points_data` ORDER BY `id` ASC', __FILE__, __LINE__);
+ while ($dummy = sqlFetchArray($result)) {
// Save row
$GLOBALS['cache_instance']->addRow($dummy);
} // END - while
// Free memory
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
// Close cache
$GLOBALS['cache_instance']->storeExtensionVersion('sql_patches');