$data) { module::set_var("movie_tools", "allow_$id", 0); } } static function can_activate() { $messages = array(); if (module::get_version("gallery") < 56) { $messages["warn"][] = t("Movie Tools requires Gallery v3.0.5 or newer."); } return $messages; } static function uninstall() { module::clear_all_vars("movie_tools"); } }