mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
remove unused import and uuid helper
This commit is contained in:
@@ -4,7 +4,6 @@ import employee from "./employee.js";
|
||||
import organisationunit from "./organisationunit.js";
|
||||
import student from "./student.js";
|
||||
import prestudent from "./prestudent.js";
|
||||
import uuid from "../../helpers/UUID.js";
|
||||
|
||||
export default {
|
||||
props: [ "searchoptions", "searchfunction" ],
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
const uuid41 = () => {
|
||||
const b = crypto.getRandomValues(new Uint16Array(8));
|
||||
const d = [].map.call(b, a => a.toString(16).padStart(4, '0')).join('');
|
||||
const vr = (((b[5] >> 12) & 3) | 8).toString(16);
|
||||
return `${d.substr(0, 8)}-${d.substr(8, 4)}-4${d.substr(13, 3)}-${vr}${d.substr(17, 3)}-${d.substr(20, 12)}`;
|
||||
};
|
||||
|
||||
export default uuid41;
|
||||
Reference in New Issue
Block a user