]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Item/Ignore.php
Fix crepair links
[friendica.git] / src / Module / Item / Ignore.php
index f59ba229c172096ef7adabc75d4c74939c007beb..a9e79cdd611594b47d942c910d12822895b305ea 100644 (file)
@@ -2,12 +2,9 @@
 
 namespace Friendica\Module\Item;
 
-use Friendica\App;
 use Friendica\BaseModule;
-use Friendica\Core\L10n\L10n;
 use Friendica\Core\Session;
 use Friendica\Core\System;
-use Friendica\Database\Database;
 use Friendica\DI;
 use Friendica\Model\Item;
 use Friendica\Network\HTTPException;
@@ -67,7 +64,7 @@ class Ignore extends BaseModule
                                $rand = "?$rand";
                        }
 
-                       DI::app()->internalRedirect($return_path . $rand);
+                       DI::baseUrl()->redirect($return_path . $rand);
                }
 
                // the json doesn't really matter, it will either be 0 or 1