PHP-CS and license ..
This commit is contained in:
parent
584e7a7e6d
commit
59c97234f8
|
@ -16,6 +16,7 @@
|
|||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
namespace Friendica\Module\Item;
|
||||
|
@ -321,8 +322,7 @@ class Display extends BaseModule
|
|||
$page = $this->page;
|
||||
|
||||
if (Contact::exists([
|
||||
'unsearchable' => true,
|
||||
'id' => [$item['contact-id'], $item['author-id'], $item['owner-id']]
|
||||
'unsearchable' => true, 'id' => [$item['contact-id'], $item['author-id'], $item['owner-id']]
|
||||
])) {
|
||||
$page['htmlhead'] .= "<meta content=\"noindex, noarchive\" name=\"robots\" />\n";
|
||||
}
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
namespace Friendica\Module\Item;
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* See update_profile.php for documentation
|
||||
*/
|
||||
|
||||
namespace Friendica\Module\Update;
|
||||
|
@ -49,7 +48,7 @@ class Display extends DisplayModule
|
|||
$item = Post::selectFirst(
|
||||
['uid', 'parent-uri-id', 'uri-id'],
|
||||
['uri-id' => $uriId, 'uid' => [0, $profileUid]],
|
||||
['order' => ['uid' => true]]
|
||||
['order' => ['uid' => true]]
|
||||
);
|
||||
|
||||
if (empty($item)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user