https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44caf05
)
Issue 5010: Don't show removed users
author
Michael
<heluecht@pirati.ca>
Thu, 24 May 2018 04:44:02 +0000
(
04:44
+0000)
committer
Michael
<heluecht@pirati.ca>
Thu, 24 May 2018 04:44:02 +0000
(
04:44
+0000)
src/Model/Profile.php
patch
|
blob
|
history
diff --git
a/src/Model/Profile.php
b/src/Model/Profile.php
index
8bb5194
..
a2e374e
100644
(file)
--- a/
src/Model/Profile.php
+++ b/
src/Model/Profile.php
@@
-90,7
+90,7
@@
class Profile
*/
public static function load(App $a, $nickname, $profile = 0, $profiledata = [], $show_connect = true)
{
- $user = dba::selectFirst('user', ['uid'], ['nickname' => $nickname]);
+ $user = dba::selectFirst('user', ['uid'], ['nickname' => $nickname
, 'account_removed' => false
]);
if (!DBM::is_result($user) && empty($profiledata)) {
logger('profile error: ' . $a->query_string, LOGGER_DEBUG);