By default Notice::asActivity has a null argument
This commit is contained in:
parent
0c694e16a5
commit
c5ef1e661e
|
@ -1493,7 +1493,7 @@ class Notice extends Managed_DataObject
|
||||||
* @return Activity activity object representing this Notice.
|
* @return Activity activity object representing this Notice.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function asActivity($cur)
|
function asActivity($cur=null)
|
||||||
{
|
{
|
||||||
$act = self::cacheGet(Cache::codeKey('notice:as-activity:'.$this->id));
|
$act = self::cacheGet(Cache::codeKey('notice:as-activity:'.$this->id));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user