Revize c1bdc1c4
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/controllers/approval_template_items.php | ||
---|---|---|
private $approval_template = NULL;
|
||
/** @var Approval_template_item_Model */
|
||
private $ati = NULL;
|
||
|
||
/**
|
||
* Only checks whether approval are enabled
|
||
*
|
||
* @author Michal Kliment
|
||
*/
|
||
public function __construct()
|
||
{
|
||
parent::__construct();
|
||
|
||
// approval are not enabled
|
||
if (!Settings::get('approval_enabled'))
|
||
Controller::error (ACCESS);
|
||
}
|
||
|
||
/**
|
||
* Index redirects to show all
|
Také k dispozici: Unified diff
Release 1.1.0