aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Cron.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-07-22 19:11:52 +0200
committerMario Vavti <mario@mariovavti.com>2019-07-22 19:11:52 +0200
commit81ecea29c839c8f914be59acbddd4955673ee2f6 (patch)
tree3cea06a23a7842cab7a18f63eb606cdf01c7b24f /Zotlabs/Daemon/Cron.php
parentad58697521dcdca8f4f38db9f69588d7d27df486 (diff)
downloadvolse-hubzilla-81ecea29c839c8f914be59acbddd4955673ee2f6.tar.gz
volse-hubzilla-81ecea29c839c8f914be59acbddd4955673ee2f6.tar.bz2
volse-hubzilla-81ecea29c839c8f914be59acbddd4955673ee2f6.zip
reflect repeats in notifications, use force flag for import_xchan_photo() in cron
Diffstat (limited to 'Zotlabs/Daemon/Cron.php')
-rw-r--r--Zotlabs/Daemon/Cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php
index c99892ffb..fe356bcbf 100644
--- a/Zotlabs/Daemon/Cron.php
+++ b/Zotlabs/Daemon/Cron.php
@@ -188,7 +188,7 @@ class Cron {
if($r) {
require_once('include/photo/photo_driver.php');
foreach($r as $rr) {
- $photos = import_xchan_photo($rr['xchan_photo_l'],$rr['xchan_hash']);
+ $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'
where xchan_hash = '%s'",
dbesc($photos[0]),