Queue and GProbe should now be executed

This commit is contained in:
Michael 2017-11-20 21:30:57 +00:00
parent aac2258bc3
commit 0877cf862c
2 changed files with 9 additions and 3 deletions

View file

@ -1,7 +1,10 @@
<?php <?php
/** /**
* @file include/gprobe.php * @file src/Worker/GProbe.php
*/ */
namespace Friendica\Worker;
use Friendica\Core\Cache; use Friendica\Core\Cache;
use Friendica\Core\Config; use Friendica\Core\Config;
use Friendica\Database\DBM; use Friendica\Database\DBM;
@ -12,7 +15,7 @@ use Friendica\Protocol\PortableContact;
require_once 'include/datetime.php'; require_once 'include/datetime.php';
class GProbe { class GProbe {
function execute($url = '') public static function execute($url = '')
{ {
if (empty($url)) { if (empty($url)) {
return; return;

View file

@ -1,7 +1,10 @@
<?php <?php
/** /**
* @file include/queue.php * @file src/Worker/Queue.php
*/ */
namespace Friendica\Worker;
use Friendica\Core\Cache; use Friendica\Core\Cache;
use Friendica\Core\Config; use Friendica\Core\Config;
use Friendica\Core\Worker; use Friendica\Core\Worker;