Many more app-variables removed
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user