aboutsummaryrefslogtreecommitdiff
path: root/lib/exceptions/FeatureDisabledException.php
blob: 16af0bf8f8a35f85c5ef6bc7d87d9bb8e3a395d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php
class FeatureDisabledException extends StudipException
{
    public function __construct($message = '', $code = 0, Exception $previous = null)
    {
        if (func_num_args() === 0) {
            $message = _('Diese Funktion ist ausgeschaltet.');
        }
        parent::__construct($message, [], $code, $previous);
    }
}