]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/User.php
Work in progress: can create & cancel sub requests
[quix0rs-gnu-social.git] / classes / User.php
index 5945456b1814b4002466049e5179526c526f6340..f395dc1e49eab43cffe50ea2bfef13ae0b07dd6d 100644 (file)
@@ -90,6 +90,12 @@ class User extends Memcached_DataObject
         return $profile->isSubscribed($other);
     }
 
+    function hasPendingSubscription($other)
+    {
+        $profile = $this->getProfile();
+        return $profile->hasPendingSubscription($other);
+    }
+
     // 'update' won't write key columns, so we have to do it ourselves.
 
     function updateKeys(&$orig)