1
0
Fork 0

API: Beautifying the code, only showing posts (not likes), don't show own posts in mentions.

This commit is contained in:
Michael Vogel 2014-04-22 15:56:28 +02:00
commit 22772876a9
2 changed files with 91 additions and 129 deletions

View file

@ -7,7 +7,7 @@ require_once('include/queue_fn.php');
function profile_change() {
$a = get_app();
if(! local_user())
return;
@ -29,7 +29,7 @@ function profile_change() {
WHERE `user`.`uid` = %d AND `profile`.`is-default` = 1 LIMIT 1",
intval(local_user())
);
if(! count($r))
return;
$profile = $r[0];