No longer used
[gitphp.git] / include / util.agecmp.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/*
 *  util.agecmp.php
 *  gitphp: A PHP git repository browser
 *  Component: Utility - project age comparison function
 *
 *  Copyright (C) 2008 Christopher Han <xiphux@gmail.com>
 */
 
function agecmp($a,$b)
{
        if ($a["age"] == $b["age"])
                return 0;
        return ($a["age"] < $b["age"] ? -1 : 1);
}
 
?>
 
comments