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