You are here

function demo_reset_demo_reset in Demonstration site (Sandbox / Snapshot) 6

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

Implements hook_demo_reset().

File

./demo_reset.module, line 92
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']);
}