Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
332B

  1. <?php
  2. /**
  3. * @file src/Worker/DBUpdate.php
  4. * @brief This file is called when the database structure needs to be updated
  5. */
  6. namespace Friendica\Worker;
  7. use Friendica\BaseObject;
  8. use Friendica\Core\Update;
  9. class DBUpdate extends BaseObject
  10. {
  11. public static function execute()
  12. {
  13. Update::run(self::getApp()->getBasePath());
  14. }
  15. }