aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Cron.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-22 10:06:50 +0000
committerMario <mario@mariovavti.com>2021-01-22 10:06:50 +0000
commit93ac3c985fd35a9826c5421360da368ff07dd315 (patch)
tree1a9c88970ba16e531490553895ab40efa971e706 /Zotlabs/Daemon/Cron.php
parentfe97b63e0b227b2702f661490424b1e12c06f73a (diff)
downloadvolse-hubzilla-93ac3c985fd35a9826c5421360da368ff07dd315.tar.gz
volse-hubzilla-93ac3c985fd35a9826c5421360da368ff07dd315.tar.bz2
volse-hubzilla-93ac3c985fd35a9826c5421360da368ff07dd315.zip
implement externals via zot6 and zotfeed - part 1
Diffstat (limited to 'Zotlabs/Daemon/Cron.php')
-rw-r--r--Zotlabs/Daemon/Cron.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php
index cd7a710d3..2c0422ddd 100644
--- a/Zotlabs/Daemon/Cron.php
+++ b/Zotlabs/Daemon/Cron.php
@@ -201,7 +201,7 @@ class Cron {
require_once('include/photo/photo_driver.php');
foreach ($r as $rr) {
$photos = import_xchan_photo($rr['xchan_photo_l'], $rr['xchan_hash'], false, true);
- $x = q("update xchan set xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s'
+ q("update xchan set xchan_photo_l = '%s', xchan_photo_m = '%s', xchan_photo_s = '%s', xchan_photo_mimetype = '%s'
where xchan_hash = '%s'",
dbesc($photos[0]),
dbesc($photos[1]),
@@ -219,8 +219,6 @@ class Cron {
if (!$disable_discover_tab)
Master::Summon(array('Externals'));
- $generation = 0;
-
$restart = false;
if (($argc > 1) && ($argv[1] == 'restart')) {
@@ -232,8 +230,6 @@ class Cron {
reload_plugins();
- $d = datetime_convert();
-
// TODO check to see if there are any cronhooks before wasting a process
if (!$restart)