This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
friendica
/
friendica
mirror of
https://github.com/friendica/friendica.git
Watch
1
Star
2
Fork
1
Code
Issues
Releases
49
Wiki
Activity
Browse Source
Don't allow deletion of public posts
pull/5207/head
Michael
2 years ago
parent
5d2fce417d
commit
77c423ec04
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/Object/Post.php
+ 1
- 1
src/Object/Post.php
View File
@ -192,7 +192,7 @@ class Post extends BaseObject
'delete'
=>
$delete
,
];
if
(
!
local_user
())
{
if
(
!
local_user
()
||
(
$item
[
'uid'
]
==
0
)
)
{
$drop
=
false
;
}
Write
Preview
Loading…
Cancel
Save