YetiForceCompany/YetiForceCRM

View on GitHub
modules/Settings/Updates/models/Module.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

/**
 * Settings updates module model class.
 *
 * @copyright YetiForce S.A.
 * @license   YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 */
class Settings_Updates_Module_Model extends Settings_Vtiger_Module_Model
{
    public static function getUpdates()
    {
        return (new App\Db\Query())->from('yetiforce_updates')->orderBy(['id' => SORT_DESC])->all();
    }
}