Remove unused test method from Adif controller
Deleted the test() method from Adif.php as it was not used and contained only temporary validation code.
这个提交包含在:
父节点
4ef4faad2e
当前提交
98ef3d8d83
共有 1 个文件被更改,包括 0 次插入 和 10 次删除
|
|
@ -13,16 +13,6 @@ class adif extends CI_Controller {
|
|||
if(!$this->user_model->authorize(2)) { $this->session->set_flashdata('notice', 'You\'re not allowed to do that!'); redirect('dashboard'); }
|
||||
}
|
||||
|
||||
public function test() {
|
||||
if(validateADIFDate('20120228') == true){
|
||||
echo "valid date";
|
||||
} else {
|
||||
echo "date incorrect";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/* Shows Export Views */
|
||||
public function export() {
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用