summaryrefslogtreecommitdiff
path: root/actions/subscriptions.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/subscriptions.php')
-rw-r--r--actions/subscriptions.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/actions/subscriptions.php b/actions/subscriptions.php
index 5566acb41..aebfa22e8 100644
--- a/actions/subscriptions.php
+++ b/actions/subscriptions.php
@@ -36,9 +36,8 @@ class SubscriptionsAction extends GalleryAction {
}
}
- function define_subs(&$subs, &$profile) {
- $subs->subscriber = $profile->id;
- $subs->whereAdd('subscribed != ' . $profile->id);
+ function fields() {
+ return array('subscribed', 'subscriber');
}
function div_class() {
@@ -48,4 +47,4 @@ class SubscriptionsAction extends GalleryAction {
function get_other(&$subs) {
return $subs->subscribed;
}
-} \ No newline at end of file
+}