PHP-CS and license ..

This commit is contained in:
Philipp 2022-11-15 20:15:25 +01:00
parent 584e7a7e6d
commit 59c97234f8
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 4 additions and 4 deletions

View file

@ -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";
}

View file

@ -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;

View file

@ -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)) {