acl in webpages and a couple of other little bits related to webpages - sort the list of pages by last edited and use prepare_body() so we get private stuff (and attachments, categories, etc.) formatted correctly

This commit is contained in:
friendica
2013-11-14 14:19:20 -08:00
parent ee629534d5
commit 49a392942c
4 changed files with 42 additions and 20 deletions

View File

@@ -33,10 +33,12 @@ function magic_init(&$a) {
if(count($b) >= 2) {
$u = $b[0] . '//' . $b[2];
dbg(1);
$x = q("select xchan.xchan_url, hubloc.* from xchan left join hubloc on xchan_hash = hubloc_hash
where hubloc_url = '%s' order by hubloc_id desc limit 1",
dbesc($u)
);
dbg(0);
}
}