Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
This commit is contained in:
@@ -47,7 +47,7 @@ class Like extends BaseModule
|
||||
$rand = "?$rand";
|
||||
}
|
||||
|
||||
$app->internalRedirect($returnPath . $rand);
|
||||
DI::baseUrl()->redirect($returnPath . $rand);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user