some minor cleanups
This commit is contained in:
parent
107f80892a
commit
32c23ef562
@ -846,7 +846,7 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
|
|||||||
|
|
||||||
// Caution: This re-uses $sql_options set further above
|
// Caution: This re-uses $sql_options set further above
|
||||||
|
|
||||||
$r = q("select id, aid, uid, hash, creator, filename, filetype, filesize, revision, folder, os_storage, is_photo, flags, created, edited, allow_cid, allow_gid, deny_cid, deny_gid from attach where uid = %d and hash = '%s' $sql_options limit 1",
|
$r = q("select * from attach where uid = %d and hash = '%s' $sql_options limit 1",
|
||||||
intval($channel_id),
|
intval($channel_id),
|
||||||
dbesc($hash)
|
dbesc($hash)
|
||||||
);
|
);
|
||||||
|
@ -415,7 +415,7 @@ function init_groups_visitor($contact_id) {
|
|||||||
$r = q("SELECT hash FROM `groups` left join group_member on groups.id = group_member.gid WHERE xchan = '%s' ",
|
$r = q("SELECT hash FROM `groups` left join group_member on groups.id = group_member.gid WHERE xchan = '%s' ",
|
||||||
dbesc($contact_id)
|
dbesc($contact_id)
|
||||||
);
|
);
|
||||||
if(count($r)) {
|
if($r) {
|
||||||
foreach($r as $rr)
|
foreach($r as $rr)
|
||||||
$groups[] = $rr['hash'];
|
$groups[] = $rr['hash'];
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,8 @@ If you use LetsEncrypt to provide certificates and create a file under
|
|||||||
please remove or rename the .well-known directory as soon as the certificate is
|
please remove or rename the .well-known directory as soon as the certificate is
|
||||||
generated. Hubzilla will provide its own handler for ".well-known" services when
|
generated. Hubzilla will provide its own handler for ".well-known" services when
|
||||||
it is installed, and an existing directory in this location may prevent some of
|
it is installed, and an existing directory in this location may prevent some of
|
||||||
these services from working correctly.
|
these services from working correctly. This should not be a problem with Apache,
|
||||||
|
but may be an issue with nginx or other web server platforms.
|
||||||
|
|
||||||
|
|
||||||
1. Requirements
|
1. Requirements
|
||||||
|
@ -1 +1 @@
|
|||||||
2016-03-08.1330H
|
2016-03-10.1331H
|
||||||
|
Reference in New Issue
Block a user