Skip to content

Commit

Permalink
functions: deprecate msort
Browse files Browse the repository at this point in the history
* Documented msort and mark it obsoleted.
  • Loading branch information
yookoala committed Oct 20, 2023
1 parent 475cc30 commit 266b239
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,15 @@ function getTerms($connection2, $gibbonSchoolYearID, $short = false)
return $output;
}

//Array sort for multidimensional arrays
/**
* Array sort for multidimensional arrays.
*
* Deprecated in favor of native usort.
*
* @since 2013
* @version v12.0.00
* @deprecated v26.0.00
*/
function msort($array, $id = 'id', $sort_ascending = true)
{
$temp_array = array();
Expand Down

0 comments on commit 266b239

Please sign in to comment.