diff options
| author | Mikael Nordfeldth <[email protected]> | 2016-01-04 21:42:24 +0100 |
|---|---|---|
| committer | Mikael Nordfeldth <[email protected]> | 2016-01-04 21:42:24 +0100 |
| commit | 701f6ff6080712ce6a7c90b6581c0a5c101a46bc (patch) | |
| tree | f958cf8d9bec738e014bb0ed0ec029f69d95963a | |
| parent | 6a169398308889c7a0e0e253db91c25a893c6950 (diff) | |
| download | social-master.tar.gz | |
not that we're using it anywhere (yet anyway).
| -rw-r--r-- | classes/Profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Profile.php b/classes/Profile.php index cd9b15961b..945d1a74ca 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -233,10 +233,10 @@ class Profile extends Managed_DataObject * * @return mixed Notice or null */ - function getCurrentNotice() + function getCurrentNotice(Profile $scoped=null) { try { - $notice = $this->getNotices(0, 1); + $notice = $this->getNotices(0, 1, 0, 0, $scoped); if ($notice->fetch()) { if ($notice instanceof ArrayWrapper) { |
