X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmanage.php;h=72de332fc70634abbfc5a07495d2c6af1040ab29;hb=54d598ce7c66308dbcf5d5aa0b14b3aec73885a8;hp=e85561acfb350fc3d64f462efe8d4d929ae50556;hpb=67707247c81ac8f5a259806d6e1334dbf70d50ff;p=friendica.git diff --git a/mod/manage.php b/mod/manage.php index e85561acfb..72de332fc7 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -1,7 +1,10 @@ user['nickname'] ); + goaway( System::baseUrl() . "/profile/" . $a->user['nickname'] ); // NOTREACHED } @@ -126,21 +129,21 @@ function manage_content(App $a) { $r = q("SELECT DISTINCT(`parent`) FROM `notify` WHERE `uid` = %d AND NOT `seen` AND NOT (`type` IN (%d, %d))", intval($id['uid']), intval(NOTIFY_INTRO), intval(NOTIFY_MAIL)); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { $notifications = sizeof($r); } $r = q("SELECT DISTINCT(`convid`) FROM `mail` WHERE `uid` = %d AND NOT `seen`", intval($id['uid'])); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { $notifications = $notifications + sizeof($r); } $r = q("SELECT COUNT(*) AS `introductions` FROM `intro` WHERE NOT `blocked` AND NOT `ignore` AND `uid` = %d", intval($id['uid'])); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { $notifications = $notifications + $r[0]["introductions"]; }