BxDataMigrationCron.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /***************************************************************************
  3. * Dolphin Smart Community Builder
  4. * -------------------
  5. * begin : Mon Mar 23 2006
  6. * copyright : (C) 2007 BoonEx Group
  7. * website : http://www.boonex.com
  8. * This file is part of Dolphin - Smart Community Builder
  9. *
  10. * Dolphin is free software; you can redistribute it and/or modify it under
  11. * the terms of the GNU General Public License as published by the
  12. * Free Software Foundation; either version 2 of the
  13. * License, or any later version.
  14. *
  15. * Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  16. * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  17. * See the GNU General Public License for more details.
  18. * You should have received a copy of the GNU General Public License along with Dolphin,
  19. * see license.txt file; if not, write to marketing@boonex.com
  20. ***************************************************************************/
  21. bx_import('BxDolCron');
  22. require_once('BxDataMigrationModule.php');
  23. class BxDataMigrationCron extends BxDolCron
  24. {
  25. var $oMigration;
  26. /**
  27. * Class constructor;
  28. */
  29. function BxDataMigrationCron()
  30. {
  31. $this -> oMigration = BxDolModule::getInstance('bx_data_migration');
  32. }
  33. /**
  34. * To do something;
  35. */
  36. function processing()
  37. {
  38. //to do;
  39. $this -> oMigration -> transferData();
  40. }
  41. }