*/
public static function findPeople()
{
- $a = get_app();
+ $a = \get_app();
$global_dir = Config::get('system', 'directory');
if (Config::get('system', 'invitation_only')) {
$extra_sql = self::unavailableNetworks();
- $r = DBA::p("SELECT DISTINCT(`network`) FROM `contact` WHERE `uid` = ? AND `network` != '' $extra_sql ORDER BY `network`",
+ $r = DBA::p("SELECT DISTINCT(`network`) FROM `contact` WHERE `uid` = ? AND NOT `deleted` AND `network` != '' $extra_sql ORDER BY `network`",
local_user()
);
*/
public static function categories($baseurl, $selected = '')
{
- $a = get_app();
+ $a = \get_app();
if (!Feature::isEnabled($a->profile['profile_uid'], 'categories')) {
return '';
*/
public static function tagCloud($limit = 50)
{
- $a = get_app();
+ $a = \get_app();
if (!$a->profile['profile_uid'] || !$a->profile['url']) {
return '';