mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed QualityModel/SeasonModel mutators.
This commit is contained in:
@@ -16,27 +16,6 @@ define(
|
||||
this.errorMessage = 'Couldn\'t save ' + name + ' size settings';
|
||||
|
||||
this.baseInitialize.call(this);
|
||||
},
|
||||
|
||||
mutators: {
|
||||
thirtyMinuteSize: function () {
|
||||
var maxSize = this.get('maxSize');
|
||||
|
||||
if (maxSize === 0) {
|
||||
return 'No Limit';
|
||||
}
|
||||
|
||||
return (maxSize * 1024 * 1024 * 30).bytes(1);
|
||||
},
|
||||
sixtyMinuteSize : function () {
|
||||
var maxSize = this.get('maxSize');
|
||||
|
||||
if (maxSize === 0) {
|
||||
return 'No Limit';
|
||||
}
|
||||
|
||||
return (maxSize * 1024 * 1024 * 60).bytes(1);
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user