]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Durr... got items in wrong order :D Fixed email notification for pending subscribes
authorBrion Vibber <brion@pobox.com>
Tue, 29 Mar 2011 00:22:37 +0000 (17:22 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 29 Mar 2011 00:22:37 +0000 (17:22 -0700)
classes/Subscription_queue.php

index 3c677902716e1a10b39063c504ee65fd557f4b65..19cd71c6a8523a0c0b61bbd86eedcae2708783b5 100644 (file)
@@ -98,8 +98,8 @@ class Subscription_queue extends Managed_DataObject
      */
     public function notify()
     {
-        $listenee = User::staticGet('id', $this->subscriber);
-        $other = Profile::staticGet('id', $this->subscribed);
+        $other = Profile::staticGet('id', $this->subscriber);
+        $listenee = User::staticGet('id', $this->subscribed);
         mail_subscribe_pending_notify_profile($listenee, $other);
     }
 }