mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 10:31:59 -04:00
Change 'timestamp' properties on objects to more descriptive names
This commit is contained in:
parent
18f761929a
commit
dbefba6b94
32 changed files with 74 additions and 74 deletions
|
@ -50,10 +50,10 @@ class Library{
|
|||
|
||||
case SORT_NEWEST:
|
||||
usort($matches, function($a, $b){
|
||||
if($a->Timestamp < $b->Timestamp){
|
||||
if($a->Created < $b->Created){
|
||||
return -1;
|
||||
}
|
||||
elseif($a->Timestamp == $b->Timestamp){
|
||||
elseif($a->Created == $b->Created){
|
||||
return 0;
|
||||
}
|
||||
else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue