summaryrefslogtreecommitdiff
path: root/lib/profilelist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r--lib/profilelist.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index ae875ac01..3412d41d1 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -86,21 +86,16 @@ class ProfileList extends Widget
function showProfiles()
{
- $log = strtolower(get_class($this)) == 'subscriberslist' && $this->owner->nickname == 'petercook';
$cnt = 0;
- if ($log) common_log(LOG_INFO, "subbug: starting with {$this->profile->N}");
while ($this->profile->fetch()) {
$cnt++;
if($cnt > PROFILES_PER_PAGE) {
- if ($log) common_log(LOG_INFO, "subbug: breaking at $cnt");
break;
}
- if ($log) common_log(LOG_INFO, "subbug: showing at $cnt");
$pli = $this->newListItem($this->profile);
$pli->show();
}
- if ($log) common_log(LOG_INFO, "subbug: ended at $cnt");
return $cnt;
}