mirror of
https://github.com/friendica/friendica
synced 2025-02-03 20:58:57 +00:00
17 lines
332 B
PHP
17 lines
332 B
PHP
<?php
|
|
/**
|
|
* @file src/Worker/DBUpdate.php
|
|
* @brief This file is called when the database structure needs to be updated
|
|
*/
|
|
namespace Friendica\Worker;
|
|
|
|
use Friendica\BaseObject;
|
|
use Friendica\Core\Update;
|
|
|
|
class DBUpdate extends BaseObject
|
|
{
|
|
public static function execute()
|
|
{
|
|
Update::run(self::getApp()->getBasePath());
|
|
}
|
|
}
|