Select Git revision
License.php
Forked from
Stud.IP / Stud.IP
Source project has a limited visibility.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This project is licensed under the GNU General Public License v2.0 or later.
Learn more
License.php 299 B
<?php
class License extends SimpleORMap
{
protected static function configure($config = [])
{
$config['db_table'] = 'licenses';
parent::configure($config);
}
public static function findDefault()
{
return static::findOneBySQL("`default` = '1'");
}
}