summaryrefslogtreecommitdiff
path: root/actions/subscribers.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscribers.php')
-rw-r--r--actions/subscribers.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/actions/subscribers.php b/actions/subscribers.php
index 2cc82d457..2e37e0315 100644
--- a/actions/subscribers.php
+++ b/actions/subscribers.php
@@ -36,9 +36,8 @@ class SubscribersAction extends GalleryAction {
}
}
- function define_subs(&$subs, &$profile) {
- $subs->subscribed = $profile->id;
- $subs->whereAdd('subscriber != ' . $profile->id);
+ function fields() {
+ return array('subscriber', 'subscribed');
}
function div_class() {