piler/webui/controller/search/remove.php

31 lines
614 B
PHP
Raw Normal View History

2013-07-27 13:10:48 +02:00
<?php
class ControllerSearchRemove extends Controller {
private $error = array();
public function index(){
$this->id = "content";
$this->template = "search/load.tpl";
$this->layout = "common/layout-empty";
$request = Registry::get('request');
$db = Registry::get('db');
$this->load->model('search/search');
$this->load->model('search/message');
$this->load->model('user/user');
2013-08-01 22:28:42 +02:00
if(isset($this->request->get['ts'])) {
$this->data['terms'] = $this->model_search_search->remove_search_term($this->request->get['ts']);
}
2013-07-27 13:10:48 +02:00
}
}
?>