Fix various documentation issues/unused variables

This commit is contained in:
Hypolite Petovan 2018-12-07 00:50:16 -05:00
parent 8a0e4e12e1
commit dea1a98a5d
5 changed files with 29 additions and 34 deletions

View file

@ -1238,8 +1238,6 @@ class Item extends BaseObject
public static function insert($item, $force_parent = false, $notify = false, $dontcache = false)
{
$a = \get_app();
// If it is a posting where users should get notifications, then define it as wall posting
if ($notify) {
$item['wall'] = 1;
@ -1883,6 +1881,7 @@ class Item extends BaseObject
* @brief Insert a new item content entry
*
* @param array $item The item fields that are to be inserted
* @return bool
*/
private static function insertActivity(&$item)
{