Merge pull request #3926 from annando/worker-correction

Queue and GProbe should now be executed
This commit is contained in:
Hypolite Petovan 2017-11-20 16:35:39 -05:00 committed by GitHub
commit 317d51fd53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View file

@ -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;

View file

@ -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;