User: thehunmonkgroup Branch: HEAD Date: Wed, 01 Sep 2010 05:23:17 +0000 Modified files: /modules/sampler Sampler.php /modules/sampler/adjustments sampler.adjustment_handler.periodic.inc /modules/sampler/methods sampler.method_handler.periodic.inc /modules/sampler sampler.api.inc sampler.api.php /modules/sampler/storage sampler.storage_handler.drupal_database_table.inc sampler.storage_handler.drupal_database_table_per_metric.inc Log message: fixes to make both drupal database storage handlers work. renaming some variables for clarity. abstract the storage handler save function to make it easier to ensure the storage exists before saving. put default options for handlers into their own public method. add api function and sampler method for updating the storage handler for a metric. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/sampler/Sampler.ph... http://cvs.drupal.org/diff.php?path=contributions/modules/sampler/adjustment... http://cvs.drupal.org/diff.php?path=contributions/modules/sampler/methods/sa... http://cvs.drupal.org/diff.php?path=contributions/modules/sampler/sampler.ap... http://cvs.drupal.org/diff.php?path=contributions/modules/sampler/sampler.ap... http://cvs.drupal.org/diff.php?path=contributions/modules/sampler/storage/sa... http://cvs.drupal.org/diff.php?path=contributions/modules/sampler/storage/sa...