From: Evan Prodromou Date: Wed, 3 Dec 2008 03:27:05 +0000 (-0500) Subject: add common_compatible_license() function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=06c7933168d609cfe20f2e233722d5651c7369dd;p=quix0rs-gnu-social.git add common_compatible_license() function darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz --- 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