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

@ -3,16 +3,6 @@
class ModelSearchMessage extends Model {
public function get_store_path($id = '') {
if($id == '') { return ''; }
$len = strlen($id);
return DIR_STORE . "/" . substr($id, $len-6, 2) . "/" . substr($id, $len-4, 2) . "/" . substr($id, $len-2, 2) . "/" . $id;
}
public function verify_message($id = '') {
if($id == '') { return 0; }