forked from Public/pics
PhotoMosaic: address deprecation notice in usort call
This commit is contained in:
parent
ce909ccfe5
commit
4d05cebc40
@ -114,7 +114,7 @@ class PhotoMosaic
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Sort photos by priority and date captured.
|
// Sort photos by priority and date captured.
|
||||||
usort($photos, 'self::orderPhotos');
|
usort($photos, self::orderPhotos(...));
|
||||||
|
|
||||||
// Three portraits?
|
// Three portraits?
|
||||||
if ($num_portrait === 3)
|
if ($num_portrait === 3)
|
||||||
|
Loading…
Reference in New Issue
Block a user