function reset() { Red_Module::clear_cache($this->id); $groups = Red_Group::get_for_module($this->id); if (count($groups) > 0) { foreach ($groups as $group) { $group->reset(); } } RE_Log::delete_for_module($this->id); }