mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:50:11 +00:00
Move mod/editpost.php to src\Module\Post\Edit
This commit is contained in:
parent
53f3454874
commit
00883c9dcb
6 changed files with 238 additions and 175 deletions
|
@ -220,7 +220,7 @@ class Post
|
|||
if ($item['event-id'] != 0) {
|
||||
$edpost = ['calendar/event/edit/' . $item['event-id'], DI::l10n()->t('Edit')];
|
||||
} else {
|
||||
$edpost = ['editpost/' . $item['id'], DI::l10n()->t('Edit')];
|
||||
$edpost = [sprintf('post/%s/edit', $item['id']), DI::l10n()->t('Edit')];
|
||||
}
|
||||
}
|
||||
$dropping = in_array($item['uid'], [0, DI::userSession()->getLocalUserId()]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue