BxDolCronStorage.php 699 B

123456789101112131415161718192021222324252627
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup DolphinCore Dolphin Core
  7. * @{
  8. */
  9. bx_import('BxDolCron');
  10. class BxDolCronStorage extends BxDolCron
  11. {
  12. public function processing()
  13. {
  14. set_time_limit(36000);
  15. ignore_user_abort();
  16. bx_import('BxDolStorage');
  17. if (BxDolStorage::pruneDeletions()) { // if any files were deleted
  18. bx_import('BxDolInstallerUtils');
  19. BxDolInstallerUtils::checkModulesPendingUninstall(); // try to uninstall modules pending for uninstall
  20. }
  21. }
  22. }
  23. /** @} */