]> git.mxchange.org Git - friendica.git/commitdiff
Queue and GProbe should now be executed
authorMichael <heluecht@pirati.ca>
Mon, 20 Nov 2017 21:30:57 +0000 (21:30 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 20 Nov 2017 21:30:57 +0000 (21:30 +0000)
src/Worker/GProbe.php
src/Worker/Queue.php

index bfe277fe09c07760bbde7c04207be578dbaee70b..2dd66336725be757b88a33665db31ee74d49cbe6 100644 (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;
index 530df0a7b0ca6865d1c85752db58895e33155efe..c15ccfb986fb19ac720b79a1e0a8e4a2bbbb1fed 100644 (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;