forked from GNUsocial/gnu-social
By default Notice::asActivity has a null argument
This commit is contained in:
@@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user