mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-21 22:17:44 -04:00
remove more v1 remnants
kudos @Ribas160
This commit is contained in:
@@ -229,9 +229,7 @@ class Filesystem extends AbstractData
|
||||
// Store in array
|
||||
$key = $this->getOpenSlot(
|
||||
$comments,
|
||||
(int) array_key_exists('created', $comment['meta']) ?
|
||||
$comment['meta']['created'] : // v2 comments
|
||||
$comment['meta']['postdate'] // v1 comments
|
||||
$comment['meta']['created']
|
||||
);
|
||||
$comments[$key] = $comment;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user