mirror of
https://github.com/friendica/friendica
synced 2025-05-01 09:44:23 +02:00
Fix various documentation issues/unused variables
This commit is contained in:
parent
8a0e4e12e1
commit
dea1a98a5d
5 changed files with 29 additions and 34 deletions
|
@ -351,8 +351,6 @@ class Group extends BaseObject
|
|||
*/
|
||||
public static function sidebarWidget($every = 'contact', $each = 'group', $editmode = 'standard', $group_id = '', $cid = 0)
|
||||
{
|
||||
$o = '';
|
||||
|
||||
if (!local_user()) {
|
||||
return '';
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue