]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/subscriptionslist.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / lib / subscriptionslist.php
diff --git a/lib/subscriptionslist.php b/lib/subscriptionslist.php
new file mode 100644 (file)
index 0000000..46de52b
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+
+if (!defined('GNUSOCIAL')) { exit(1); }
+
+// XXX SubscriptionsList and SubscriptionList are dangerously close
+
+class SubscriptionsList extends SubscriptionList
+{
+    function newListItem(Profile $profile)
+    {
+        return new SubscriptionsListItem($profile, $this->owner, $this->action);
+    }
+}