Skip to content

cleanup_backupcache() seems to be missing in 24.03 #88

@bill-mcgonigle

Description

@bill-mcgonigle
[05-Jun-2024 13:17:04 EST5EDT] PHP Fatal error:  Uncaught Error: Call to undefined function cleanup_backupcache() in /etc/inc/fauxapi/fauxapi_pfsense_interface.inc:316

It looks like cleanup_backupcache() got refactored in 24.03. I think the new code is in syncBackupCache() ?

That's a private function that only seems to get called from getBackupList() . For now I commented out line 316 and it functions without causing problems that I noticed, other than /cf/conf/backups/ growing by one file per change. I'm not sure how to make the right call for the new code to do a cleanup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions