mirror of
https://github.com/friendica/friendica
synced 2024-12-23 15:20:17 +00:00
Merge pull request #3926 from annando/worker-correction
Queue and GProbe should now be executed
This commit is contained in:
commit
317d51fd53
2 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* @file include/gprobe.php
|
||||
* @file src/Worker/GProbe.php
|
||||
*/
|
||||
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -12,7 +15,7 @@ use Friendica\Protocol\PortableContact;
|
|||
require_once 'include/datetime.php';
|
||||
|
||||
class GProbe {
|
||||
function execute($url = '')
|
||||
public static function execute($url = '')
|
||||
{
|
||||
if (empty($url)) {
|
||||
return;
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<?php
|
||||
/**
|
||||
* @file include/queue.php
|
||||
* @file src/Worker/Queue.php
|
||||
*/
|
||||
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Worker;
|
||||
|
|
Loading…
Reference in a new issue