webui code cleanup

This commit is contained in:
SJ
2012-12-18 15:58:14 +01:00
parent d77579e761
commit cc55883b35
11 changed files with 18 additions and 42 deletions

View File

@ -33,16 +33,6 @@ class ControllerFolderList extends Controller {
return;
}
/*if($this->request->server['REQUEST_METHOD'] == 'POST' && PASSWORD_CHANGE_ENABLED == 1 && $this->validate() == true) {
if($this->model_user_auth->change_password(Registry::get('username'), $this->request->post['password']) == 1) {
$this->data['x'] = $this->data['text_password_changed'];
}
else {
$this->data['x'] = $this->data['text_failed_to_change_password'];
}
}*/
$this->data['page_len'] = get_page_length();