mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 17:07:39 -04:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
254e30bea1 | ||
|
|
a16692eeb0 | ||
|
|
d3f8118874 | ||
|
|
cb3131a166 | ||
|
|
3105f514e4 |
@@ -1,3 +1,9 @@
|
||||
Hubzilla 5.2.1 (2021-01-16)
|
||||
- Fix attach_upgrade() to catch all broken entries in attach
|
||||
- Fix collect_recipients() public policy filter for zot6
|
||||
- Fix leaking of duplicate tasks in queueworker addon_common
|
||||
|
||||
|
||||
Hubzilla 5.2 (2021-01-13)
|
||||
- Use libzotdir for directory
|
||||
- Streamline usage of channel url for keyId
|
||||
|
||||
2
boot.php
2
boot.php
@@ -50,7 +50,7 @@ require_once('include/attach.php');
|
||||
require_once('include/bbcode.php');
|
||||
|
||||
define ( 'PLATFORM_NAME', 'hubzilla' );
|
||||
define ( 'STD_VERSION', '5.2' );
|
||||
define ( 'STD_VERSION', '5.2.1' );
|
||||
define ( 'ZOT_REVISION', '6.0' );
|
||||
|
||||
define ( 'DB_UPDATE_VERSION', 1240 );
|
||||
|
||||
@@ -3064,8 +3064,7 @@ function attach_syspaths($channel_id,$attach_hash) {
|
||||
|
||||
|
||||
function attach_upgrade() {
|
||||
|
||||
$r = q("select id, uid, hash from attach where os_path = '' and display_path = '' limit 100");
|
||||
$r = q("SELECT id, uid, hash FROM attach WHERE os_path = '' OR display_path = '' LIMIT 100");
|
||||
if($r) {
|
||||
foreach($r as $rv) {
|
||||
$x = attach_syspaths($rv['uid'],$rv['hash']);
|
||||
|
||||
@@ -130,7 +130,7 @@ function collect_recipients($item, &$private_envelope,$include_groups = true) {
|
||||
case 'sit':
|
||||
case 'any':
|
||||
case 'con':
|
||||
if($rr['xchan_network'] != 'zot')
|
||||
if(!in_array($rr['xchan_network'], ['zot6', 'zot']))
|
||||
break;
|
||||
case 'pub':
|
||||
case '':
|
||||
|
||||
Reference in New Issue
Block a user