diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:22:06 +0100 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-22 20:22:06 +0100 |
commit | 5cc0391093109a99504d27415a53712421c8e95f (patch) | |
tree | b4634e0394a08a1f6a903d6b9b97197d25a1372e /lib/topposterssection.php | |
parent | e9b3e4e7a8feaebec370db780a4da7fd639772f3 (diff) |
Change to only show local posters in top posting section
Diffstat (limited to 'lib/topposterssection.php')
-rw-r--r-- | lib/topposterssection.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/topposterssection.php b/lib/topposterssection.php index 116373818..7a3d46aa5 100644 --- a/lib/topposterssection.php +++ b/lib/topposterssection.php @@ -50,6 +50,7 @@ class TopPostersSection extends ProfileSection { $qry = 'SELECT profile.*, count(*) as value ' . 'FROM profile JOIN notice ON profile.id = notice.profile_id ' . + (common_config('public', 'localonly') ? 'WHERE is_local = 1 ' : '') . 'GROUP BY profile.id ' . 'ORDER BY value DESC '; |