fixing quota class, sorry boys <3
This commit is contained in:
parent
5c6f4071a3
commit
4a8bde0304
|
@ -156,6 +156,7 @@ class m_quota {
|
||||||
}
|
}
|
||||||
$get_quota_cache[$cuid] = $this->quotas;
|
$get_quota_cache[$cuid] = $this->quotas;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($ressource) {
|
if ($ressource) {
|
||||||
if (isset($this->quotas[$ressource]) ) {
|
if (isset($this->quotas[$ressource]) ) {
|
||||||
|
@ -169,7 +170,6 @@ class m_quota {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* ----------------------------------------------------------------- */
|
/* ----------------------------------------------------------------- */
|
||||||
/** Set the quota for a user (and for a ressource)
|
/** Set the quota for a user (and for a ressource)
|
||||||
* @param string $ressource ressource to set quota of
|
* @param string $ressource ressource to set quota of
|
||||||
|
|
Loading…
Reference in New Issue