diff --git a/Changelog b/Changelog index e6bd7765e..3030c4fc8 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2018-09-06 DariusIII + * Chg: Remove unused code from GetNzbController * Chg: Update psy/psysh to latest version 2018-09-05 DariusIII * Chg: Add powerline directly from ubuntu repo and use it in tmux diff --git a/app/Http/Controllers/GetNzbController.php b/app/Http/Controllers/GetNzbController.php index f58623ced..271a13352 100644 --- a/app/Http/Controllers/GetNzbController.php +++ b/app/Http/Controllers/GetNzbController.php @@ -56,13 +56,7 @@ class GetNzbController extends BasePageController if ($request->has('id')) { str_ireplace('.nzb', '', $request->input('id')); } - // - // A hash of the users ip to record against the download - // - $hosthash = ''; - if ((int) Settings::settingValue('..storeuserips') === 1) { - $hosthash = User::getHostHash($request->ip(), Settings::settingValue('..siteseed')); - } + // Check download limit on user role. $requests = UserDownload::getDownloadRequests($uid);