@ -45,7 +45,7 @@ Quota.applyCustomLimits = function (Env) {
if (k.length === 44) {
user = {
pubkey: Util.unescapeKeyCharacters(k)
}
};
} else {
try {
user = Keys.parseUser(k);
@ -150,7 +150,7 @@ define([
var unit = Util.magnitudeOfBytes(bytes);
var value = unit === 'GB' ? Util.bytesToGigabytes(bytes) : Util.bytesToMegabytes(bytes);
return unit === 'GB' ? Messages._getKey('formattedGB', [value])
: Messages._getKey('formattedMB', [value])
: Messages._getKey('formattedMB', [value]);
Messages.admin_defaultlimitTitle = "Storage limit"; // XXX