mirror of
https://github.com/friendica/friendica
synced 2025-04-29 21:04:24 +02:00
Improved delete text to clarify AP comment delete behaviour
This commit is contained in:
parent
921094017c
commit
6ad082a710
2 changed files with 11 additions and 10 deletions
|
@ -1011,10 +1011,8 @@ class Item extends BaseObject
|
|||
$matches = false;
|
||||
$cnt = preg_match_all('/<(.*?)>/', $item['file'], $matches, PREG_SET_ORDER);
|
||||
|
||||
if ($cnt)
|
||||
{
|
||||
foreach ($matches as $mtch)
|
||||
{
|
||||
if ($cnt) {
|
||||
foreach ($matches as $mtch) {
|
||||
FileTag::unsaveFile($item['uid'], $item['id'], $mtch[1],true);
|
||||
}
|
||||
}
|
||||
|
@ -1023,10 +1021,8 @@ class Item extends BaseObject
|
|||
|
||||
$cnt = preg_match_all('/\[(.*?)\]/', $item['file'], $matches, PREG_SET_ORDER);
|
||||
|
||||
if ($cnt)
|
||||
{
|
||||
foreach ($matches as $mtch)
|
||||
{
|
||||
if ($cnt) {
|
||||
foreach ($matches as $mtch) {
|
||||
FileTag::unsaveFile($item['uid'], $item['id'], $mtch[1],false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue