By default Notice::asActivity has a null argument

This commit is contained in:
Evan Prodromou 2013-04-14 12:02:52 -04:00
parent 0c694e16a5
commit c5ef1e661e
1 changed files with 1 additions and 1 deletions

View File

@ -1493,7 +1493,7 @@ class Notice extends Managed_DataObject
* @return Activity activity object representing this Notice.
*/
function asActivity($cur)
function asActivity($cur=null)
{
$act = self::cacheGet(Cache::codeKey('notice:as-activity:'.$this->id));