summaryrefslogtreecommitdiffstats
path: root/application/models/file_mod.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@server-speed.net>2011-03-21 16:25:00 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-03-21 16:25:00 +0100
commit413d0cdac49257089a0790f6ac92973a36a6b69f (patch)
tree21b8fe45357163f5542ccee34ddec40da366b7fa /application/models/file_mod.php
parentc4faa3b20bc669e13b70efbb2649c024771915ca (diff)
remove file_mod->check_client_version()
The interfaces shouldn't change anymore. Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'application/models/file_mod.php')
-rw-r--r--application/models/file_mod.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php
index dfb203226..62c613ebe 100644
--- a/application/models/file_mod.php
+++ b/application/models/file_mod.php
@@ -146,17 +146,6 @@ class File_mod extends CI_Model {
$this->load->view($this->var->view_dir.'/footer', $data);
}
- function check_client_version()
- {
- if ($this->var->cli_client == "fb-client") {
- $client_version = substr($_SERVER['HTTP_USER_AGENT'], 10);
- if ($this->var->latest_client != $client_version) {
- echo "Your are using an old client version. Latest is ".$this->var->latest_client."\n";
- }
- }
-
- }
-
// download a given ID
// TODO: make smaller
function download()