mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:10:12 +00:00
Review update
Rename function, move others
This commit is contained in:
parent
0f1be37279
commit
f04d40a37e
55 changed files with 331 additions and 326 deletions
|
@ -12,8 +12,10 @@ use Friendica\Core\Worker;
|
|||
use Friendica\Database\DBM;
|
||||
use Friendica\Util\Network;
|
||||
|
||||
class Directory {
|
||||
public static function execute($url = '') {
|
||||
class Directory
|
||||
{
|
||||
public static function execute($url = '')
|
||||
{
|
||||
$dir = Config::get('system', 'directory');
|
||||
|
||||
if (!strlen($dir)) {
|
||||
|
@ -33,7 +35,7 @@ class Directory {
|
|||
|
||||
logger('Updating directory: ' . $arr['url'], LOGGER_DEBUG);
|
||||
if (strlen($arr['url'])) {
|
||||
Network::fetchURL($dir . '?url=' . bin2hex($arr['url']));
|
||||
Network::fetchUrl($dir . '?url=' . bin2hex($arr['url']));
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue