]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Delegation.php
Use DI::baseUrl() for Search\Index.php
[friendica.git] / src / Module / Delegation.php
index 32d02a00e96e82497cc7659bb5d8c5071c1ad890..cb2f24ce1e3f84d9166abf292799e1424809a4f9 100644 (file)
@@ -89,7 +89,7 @@ class Delegation extends BaseModule
                $ret = [];
                Hook::callAll('home_init', $ret);
 
-               DI::app()->internalRedirect('profile/' . DI::app()->user['nickname']);
+               DI::baseUrl()->redirect('profile/' . DI::app()->user['nickname']);
                // NOTREACHED
        }