mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Clarify the effect of "net-publish"
This commit is contained in:
parent
9182879a00
commit
ee6cceba30
11 changed files with 21 additions and 34 deletions
|
@ -293,7 +293,7 @@ class Profile extends BaseProfile
|
|||
|
||||
$htmlhead .= '<meta name="dfrn-global-visibility" content="' . ($profile['net-publish'] ? 'true' : 'false') . '" />' . "\n";
|
||||
|
||||
if (!$profile['net-publish'] || $profile['hidewall']) {
|
||||
if (!$profile['net-publish']) {
|
||||
$htmlhead .= '<meta content="noindex, noarchive" name="robots" />' . "\n";
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ class Status extends BaseProfile
|
|||
|
||||
ProfileModel::load($a, $parameters['nickname']);
|
||||
|
||||
if (!$a->profile['net-publish'] || $a->profile['hidewall']) {
|
||||
if (!$a->profile['net-publish']) {
|
||||
DI::page()['htmlhead'] .= '<meta content="noindex, noarchive" name="robots" />' . "\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue