mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 19:28:55 +00:00
Remove unused code from GetNzbController
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user