diff options
author | Mario <mario@mariovavti.com> | 2025-05-18 16:55:55 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-05-18 16:55:55 +0000 |
commit | 4625a8927cb4bd4201c41631f1d8bba78c6b66cd (patch) | |
tree | f5f03352cecf181652cd2c4777d259c65f2aaa82 | |
parent | a773ca8a24da5224ce2995c26861b57620dc6bf6 (diff) | |
download | volse-hubzilla-4625a8927cb4bd4201c41631f1d8bba78c6b66cd.tar.gz volse-hubzilla-4625a8927cb4bd4201c41631f1d8bba78c6b66cd.tar.bz2 volse-hubzilla-4625a8927cb4bd4201c41631f1d8bba78c6b66cd.zip |
Revert "define variable"
This reverts commit a773ca8a24da5224ce2995c26861b57620dc6bf6.
-rw-r--r-- | Zotlabs/Daemon/Cron.php | 4 | ||||
-rw-r--r-- | Zotlabs/Widget/Messages.php | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php index f5d1182fa..a38809f45 100644 --- a/Zotlabs/Daemon/Cron.php +++ b/Zotlabs/Daemon/Cron.php @@ -135,12 +135,10 @@ class Cron { ); foreach ($r as $rr) { $file = dbunescbin($rr['content']); - hz_syslog('info: about to deleted cached photo file ' . $file, LOGGER_DEBUG); - if (is_file($file)) { @unlink($file); @rmdir(dirname($file)); - hz_syslog('info: deleted cached photo file ' . $file, LOGGER_DEBUG); + logger('info: deleted cached photo file ' . $file, LOGGER_DEBUG); } } } diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index 761679120..ef4a35ece 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -28,8 +28,6 @@ class Messages { intval(TERM_FILE) ); - $file_tags = []; - if ($r) { foreach($r as $rr) { $file_tags[] = $rr['term']; |