]> git.mxchange.org Git - friendica.git/blobdiff - mod/redir.php
Merge pull request #10967 from annando/api
[friendica.git] / mod / redir.php
index a158f31798cdf01313268c616e608b506ead8e05..e96a58b63a965f50ef70016481be5b38c46f3571 100644 (file)
@@ -76,7 +76,7 @@ function redir_init(App $a) {
                        // Local user is already authenticated.
                        redir_check_url($contact_url, $url);
                        $target_url = $url ?: $contact_url;
-                       Logger::log($contact['name'] . " is already authenticated. Redirecting to " . $target_url, Logger::DEBUG);
+                       Logger::info($contact['name'] . " is already authenticated. Redirecting to " . $target_url);
                        $a->redirect($target_url);
                }
        }
@@ -93,7 +93,7 @@ function redir_init(App $a) {
                        // Remote user is already authenticated.
                        redir_check_url($contact_url, $url);
                        $target_url = $url ?: $contact_url;
-                       Logger::log($contact['name'] . " is already authenticated. Redirecting to " . $target_url, Logger::DEBUG);
+                       Logger::info($contact['name'] . " is already authenticated. Redirecting to " . $target_url);
                        $a->redirect($target_url);
                }
        }
@@ -112,7 +112,7 @@ function redir_init(App $a) {
                $url .= $separator . 'zrl=' . urlencode($my_profile);
        }
 
-       Logger::log('redirecting to ' . $url, Logger::DEBUG);
+       Logger::info('redirecting to ' . $url);
        $a->redirect($url);
 }