Changeset 11511 for trunk/include/functions.inc.php
- Timestamp:
- Jun 26, 2011, 12:03:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r11162 r11511 1601 1601 return $options; 1602 1602 } 1603 1604 1605 /** 1606 * return the branch from the version. For example version 2.2.4 is for branch 2.2 1607 */ 1608 function get_branch_from_version($version) 1609 { 1610 return implode('.', array_slice(explode('.', $version), 0, 2)); 1611 } 1603 1612 ?>
Note: See TracChangeset
for help on using the changeset viewer.