summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/Profile.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index 4b2e09006..4c14f62a0 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -716,4 +716,12 @@ class Profile extends Memcached_DataObject
}
return $result;
}
+
+ function hasForwarded($notice_id)
+ {
+ $forward = Forward::pkeyGet(array('profile_id' => $this->id,
+ 'notice_id' => $notice_id));
+
+ return (!empty($forward));
+ }
}