Added converter format detection and added conversion logic to restore controller
[moodle.git] / backup / util / helper / convert_helper.class.php
CommitLineData
17252e2d
MN
1<?php
2/**
3 * General Convert Helper
4 */
5abstract class convert_helper {
6 public static function generate_id($entropy) {
7 return md5(time() . '-' . $entropy . '-' . random_string(20));
8 }
9}