sforkowany z mirror/friendica
Don't allow deletion of public posts
rodzic
5d2fce417d
commit
77c423ec04
|
@ -192,7 +192,7 @@ class Post extends BaseObject
|
|||
'delete' => $delete,
|
||||
];
|
||||
|
||||
if (!local_user()) {
|
||||
if (!local_user() || ($item['uid'] == 0)) {
|
||||
$drop = false;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue