You are here

function demo_reset_demo_reset in Demonstration site (Sandbox / Snapshot) 7

Same name and namespace in other branches
  1. 6 demo_reset.module \demo_reset_demo_reset()

Implements hook_demo_reset().

File

demo_reset/demo_reset.module, line 107
Demonstration site reset module.

Code

function demo_reset_demo_reset($filename, $info, $fileconfig) {

  // Reset default dump to load on cron. Normally, this should be the same as
  // the original value, but whenever we reset the site to a different snapshot,
  // it's very unlikely that we want to reset to the previous snapshot.
  variable_set('demo_dump_cron', $info['filename']);
}