mirror of
https://github.com/friendica/friendica
synced 2025-05-12 04:24:11 +02:00
Move multiple functions
move multiple smaller functions
This commit is contained in:
parent
cd3643d174
commit
1eb7c19c1e
11 changed files with 24 additions and 56 deletions
|
@ -17,6 +17,7 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Protocol\Diaspora;
|
||||
use Friendica\Util\Network;
|
||||
use dba;
|
||||
|
||||
require_once 'include/dba.php';
|
||||
|
@ -963,7 +964,7 @@ class Profile
|
|||
public static function zrlInit(App $a)
|
||||
{
|
||||
$my_url = self::getMyURL();
|
||||
$my_url = validate_url($my_url);
|
||||
$my_url = Network::validateURL($my_url);
|
||||
if ($my_url) {
|
||||
// Is it a DDoS attempt?
|
||||
// The check fetches the cached value from gprobe to reduce the load for this system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue