use static

This commit is contained in:
Matt Wiebe 2023-10-31 17:35:08 -05:00
parent bcf29e1caf
commit e3a78fbadc

View file

@ -224,7 +224,7 @@ class Scheduler {
* Send a profile update to all followers. Gets hooked into all relevant options/meta etc.
* @param int $user_id The user ID to update (Could be 0 for Blog-User).
*/
public function schedule_profile_update( $user_id ) {
public static function schedule_profile_update( $user_id ) {
\wp_schedule_single_event(
\time(),
'activitypub_send_update_profile_activity',