]> git.mxchange.org Git - friendica.git/commitdiff
Remove test loggings
authorMichael <heluecht@pirati.ca>
Sat, 28 Dec 2019 11:17:10 +0000 (11:17 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 28 Dec 2019 11:17:10 +0000 (11:17 +0000)
src/Module/Search/Index.php

index 4327dd16570409a807237732121602dc9b19337b..23b134b4559e75c02328f76a2b7053348eb6097e 100644 (file)
@@ -218,7 +218,6 @@ class Index extends BaseSearchModule
                $isUrl = !empty(parse_url($search, PHP_URL_SCHEME));
                $isAddr = (bool)preg_match('/^@?([a-z0-9.-_]+@[a-z0-9.-_:]+)$/i', trim($search), $matches);
 
-               Logger::info('Search', ['url' => $isUrl, 'addr' => $isAddr]);
                if (!$isUrl && !$isAddr) {
                        return;
                }
@@ -226,7 +225,7 @@ class Index extends BaseSearchModule
                if ($isAddr) {
                        $search = $matches[1];
                }
-               Logger::info('Search', ['term' => $search]);
+
                if (local_user()) {
                        // User-specific contact URL/address search
                        $contact_id = Contact::getIdForURL($search, local_user());
@@ -247,7 +246,6 @@ class Index extends BaseSearchModule
                        }
                }
 
-               Logger::info('Search', ['cid' => $contact_id]);
                if (!empty($contact_id)) {
                        $baseURL->redirect('contact/' . $contact_id);
                }