Completed
Push — master ( 8555c7...3d8b58 )
by Angus
02:42
created

AdminPanel::update_normal()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1); defined('BASEPATH') OR exit('No direct script access allowed');
2
3
class AdminPanel extends Admin_Controller {
4
	public function __construct() {
5
		parent::__construct();
6
7
		$this->load->helper('form');
8
		$this->load->library('form_validation');
9
	}
10
11
	public function index() {
12
		$this->header_data['title'] = "Admin Panel";
13
		$this->header_data['page']  = "admin-panel";
14
15
		$this->_render_page('AdminPanel');
16
	}
17
18
	public function update_normal() {
19
		set_time_limit(0);
20
		$this->Tracker->admin->updateLatestChapters();
21
	}
22
	public function update_custom() {
23
		set_time_limit(0);
24
		$this->Tracker->admin->updateCustom();
25
	}
26
	public function update_titles() {
27
		set_time_limit(0);
28
		$this->Tracker->admin->updateTitles();
29
	}
30
}
31