]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add common_compatible_license() function
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 3 Dec 2008 03:27:05 +0000 (22:27 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 3 Dec 2008 03:27:05 +0000 (22:27 -0500)
darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz

lib/util.php

index 56eeaa25730db9f2e28ad81b965cb26394b916e3..680b9fa450d101730be81c22d21946f472c1b8ba 100644 (file)
@@ -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