remove synchronous usages of _purge_orphans()

This commit is contained in:
Andrew Dolgov
2025-05-02 10:28:35 +03:00
parent a268f52de6
commit 44b5b33f3d
2 changed files with 3 additions and 7 deletions

View File

@@ -1721,7 +1721,9 @@ class RSSUtils {
PluginHost::getInstance()->add_scheduled_task('purge_orphans', '@daily',
function() {
Article::_purge_orphans(); return 0;
Article::_purge_orphans();
return 0;
}
);