codingdavinci / relaunch2018

This is the new Coding da Vinci website (online since September 2020).
https://codingdavinci.de
GNU General Public License v2.0
1 stars 1 forks source link

usort returns bool (deprecated) #296

Closed mbuechner closed 2 years ago

mbuechner commented 2 years ago

usort should not return boolean. This is deprecated at https://github.com/codingdavinci/relaunch2018/blob/master/web/modules/custom/custom_filters/custom_filters.module#L35

mbuechner commented 2 years ago

Solved with spaceship operator. See https://github.com/codingdavinci/relaunch2018/commit/933f86e6d160192e888bd422a1b0b225a726e2f1