Remove unused parameter in can_write_wall()

This commit is contained in:
Hypolite Petovan
2018-01-03 21:05:55 -05:00
parent 659d637b5a
commit 722782d553
7 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ function do_like($item_id, $verb) {
$uid = local_user();
}
if (!can_write_wall($a, $uid)) {
if (!can_write_wall($uid)) {
logger('like: unable to write on wall ' . $uid);
return false;
}