mirror of
https://github.com/friendica/friendica
synced 2025-04-23 01:10:11 +00:00
Many more app-variables removed
This commit is contained in:
parent
e05c1821c2
commit
2502a9192d
30 changed files with 310 additions and 401 deletions
|
@ -970,7 +970,6 @@ class Post
|
|||
'$prompttext' => DI::l10n()->t('Please enter a image/video/audio/webpage URL:'),
|
||||
'$preview' => DI::l10n()->t('Preview'),
|
||||
'$indent' => $indent,
|
||||
'$sourceapp' => DI::l10n()->t($a->sourcename),
|
||||
'$rand_num' => Crypto::randomDigits(12)
|
||||
]);
|
||||
}
|
||||
|
|
|
@ -79,11 +79,11 @@ class Thread
|
|||
$this->writable = true;
|
||||
break;
|
||||
case 'profile':
|
||||
$this->profile_owner = $a->profile['uid'];
|
||||
$this->profile_owner = $a->profile_owner;
|
||||
$this->writable = Security::canWriteToUserWall($this->profile_owner);
|
||||
break;
|
||||
case 'display':
|
||||
$this->profile_owner = $a->profile['uid'];
|
||||
$this->profile_owner = $a->profile_owner;
|
||||
$this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
|
||||
break;
|
||||
case 'community':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue