summaryrefslogtreecommitdiffstats
path: root/application/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'application/helpers')
-rw-r--r--application/helpers/filebin_helper.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/application/helpers/filebin_helper.php b/application/helpers/filebin_helper.php
index 29c7d6eb8..81f330f68 100644
--- a/application/helpers/filebin_helper.php
+++ b/application/helpers/filebin_helper.php
@@ -94,13 +94,6 @@ function is_cli_client($override = null)
if ($is_cli === null) {
$is_cli = false;
- // official client uses "fb-client/$version" as useragent
- $clients = array("fb-client", "libcurl", "pyfb", "curl/");
- foreach ($clients as $client) {
- if (isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], $client) !== false) {
- $is_cli = true;
- }
- }
}
return $is_cli;
}