diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-12-02 22:27:05 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-12-02 22:27:05 -0500 |
commit | 06c7933168d609cfe20f2e233722d5651c7369dd (patch) | |
tree | e6065c5664aadd3f544d700c6911dcf253d0a1dd /lib | |
parent | 8b3080faf4710ad86fcb56b2b193ac20a47a1c57 (diff) |
add common_compatible_license() function
darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index 56eeaa257..680b9fa45 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 |