Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

+4 -3
View File
@@ -104,7 +104,8 @@ class _Reply extends \IPS\Content\Comment implements \IPS\Content\Hideable
*/
public function url( $action='find' )
{
if ( $action === 'find' )
/* Status Posts and comments don't support get PrefComment */
if ( $action === 'find' or $action === 'getPrefComment' )
{
return $this->item()->url();
}
@@ -173,8 +174,8 @@ class _Reply extends \IPS\Content\Comment implements \IPS\Content\Hideable
{
$member = $member ?: \IPS\Member::loggedIn();
/* Profile owner should always be able to delete */
if ( $member->member_id == $this->item()->member_id )
/* Can we delete our own status updates? */
if ( $this->item()->canDelete() )
{
return TRUE;
}