From 06c7933168d609cfe20f2e233722d5651c7369dd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 2 Dec 2008 22:27:05 -0500 Subject: [PATCH] add common_compatible_license() function darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz --- lib/util.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/util.php b/lib/util.php index 56eeaa2573..680b9fa450 100644 --- a/lib/util.php +++ b/lib/util.php @@ -2081,3 +2081,8 @@ function common_memcache() { return $cache; } } + +function common_compatible_license($from, $to) { + # XXX: better compatibility check needed here! + return ($from == $to); +} \ No newline at end of file -- 2.39.5