Notice->repeat() function takes Profile as argument now

This commit is contained in:
Mikael Nordfeldth
2014-05-18 21:03:10 +02:00
parent c4c4835899
commit b0cc9292b1
6 changed files with 21 additions and 30 deletions

View File

@@ -179,7 +179,7 @@ class SubMirror extends Managed_DataObject
return true;
} else {
common_log(LOG_INFO, "SubMirror plugin auto-repeating notice $notice->id for $profile->id");
return $notice->repeat($profile->id, 'mirror');
return $notice->repeat($profile, 'mirror');
}
}