mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 16:24:27 +02:00
Renamed AcctLink to Acctlink
This commit is contained in:
parent
508032cf9a
commit
3f729df258
1 changed files with 2 additions and 2 deletions
|
@ -1,26 +0,0 @@
|
|||
<?php
|
||||
|
||||
namespace Friendica\Module;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Network\Probe;
|
||||
|
||||
/**
|
||||
* Redirects to another URL based on the parameter 'addr'
|
||||
*/
|
||||
class AcctLink extends BaseModule
|
||||
{
|
||||
public static function content()
|
||||
{
|
||||
$addr = defaults($_REQUEST, 'addr', false);
|
||||
|
||||
if ($addr) {
|
||||
$url = defaults(Probe::uri($addr), 'url', false);
|
||||
|
||||
if ($url) {
|
||||
goaway($url);
|
||||
killme();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue