Commit edf6fc17 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Martyn: comment out quota setting on login

parent 2195616a
......@@ -106,9 +106,10 @@ class User {
if (!isset($this->defaults[$key])) {
throw new InvalidArgumentException($key);
}
if ($key == 'quotaused') {
throw new InvalidArgumentException('quotaused should be set via the quota_* methods');
}
// @todo: Martyn Only for external calls??
//if ($key == 'quotaused') {
// throw new InvalidArgumentException('quotaused should be set via the quota_* methods');
//}
$this->SESSION->set("user/$key", $value);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment