friendica/src/Worker/DBUpdate.php

18 lines
332 B
PHP
Raw Normal View History

2017-11-18 08:31:33 +01:00
<?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;
2017-11-18 08:31:33 +01:00
class DBUpdate extends BaseObject
{
public static function execute()
{
Update::run(self::getApp()->getBasePath());
2017-11-18 08:31:33 +01:00
}
}