aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Cron.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-01-22 11:16:43 +0100
committerMario Vavti <mario@mariovavti.com>2021-01-22 11:16:43 +0100
commit78716c42d6ff31bcd89c2316166bf9731a5ab3ab (patch)
treecc8b489e1744b611e0c08e1f52c2e6ee54e1d2b6 /Zotlabs/Daemon/Cron.php
parente6aed4fb8ef5853f27100a2b9e2903323c874ce8 (diff)
parent064effe5fd861be2623c7bd1f8a6037e6d470c29 (diff)
downloadvolse-hubzilla-78716c42d6ff31bcd89c2316166bf9731a5ab3ab.tar.gz
volse-hubzilla-78716c42d6ff31bcd89c2316166bf9731a5ab3ab.tar.bz2
volse-hubzilla-78716c42d6ff31bcd89c2316166bf9731a5ab3ab.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
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)